]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/papers/tutorial/Makefile
Formatting cleanup.
[nmh] / docs / historical / mh-6.8.5 / papers / tutorial / Makefile
1 #######################################################################
2 # Instructions to Make, for generation of nice-looking papers using TeX
3 #######################################################################
4
5 .SUFFIXES: .pic .web .tex .dvi .imp
6
7 .pic.tex:; tpic $<
8
9 .web.tex:; sh -c 'if weave $<; then exit 0; else rm $@; exit 1; fi'
10
11 .tex.dvi:; sh -c 'if TEXINPUTS=../doclib:.:${TEXINPUTS} tex \
12 \\nonstopmode\\input $<\\bye; \
13 then exit 0; else rm $@; exit 1; fi'
14
15 .dvi.imp:; dviimp $(DFLAGS) -i $@ $<
16
17
18 #############################################################
19 # Here it is...
20 #############################################################
21
22 all: i-all
23 print: i-print
24
25
26 #############################################################
27 # tutorial
28 #############################################################
29
30 i-all: tutorial.dvi
31
32 i-print: tutorial.dvi true
33 dvisp -J Tutorial tutorial.dvi
34
35
36 # customization files, et. al., not included below
37 tutorial.dvi: version.tex
38
39 version.tex: tutorial.tex text.tex refs.tex version.sh
40 @: version.sh
41
42 true:;
43
44
45
46
47 ##############################################################################
48 # Miscellaneous tasks
49 ##############################################################################
50
51 distribution: clean
52 rm -f tutorial.dvi tutorial.imp
53
54 clean:; rm -f tutorial.lof tutorial.log tutorial.lot tutorial.toc _*