]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/papers/realwork/Makefile
Added all of the MH sources, including RCS files, in
[nmh] / docs / historical / mh-6.8.5 / papers / realwork / 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 # realwork
28 #############################################################
29
30 i-all: realwork.dvi
31
32 i-print: realwork.dvi true
33 dvisp $(DFLAGS) -J RealWork realwork.dvi
34
35
36 # customization files, et. al., not included below
37 realwork.dvi: version.tex
38
39 version.tex: realwork.tex text.tex appendixA.tex appendixB.tex refs.tex \
40 diagram1.tex diagram2.tex diagram3.tex diagram4.tex \
41 diagram5.tex diagram6.tex diagram7.tex diagram8.tex \
42 diagram10.tex \
43 version.sh
44 @: version.sh
45
46 true:;
47
48
49 ##############################################################################
50 # Miscellaneous tasks
51 ##############################################################################
52
53 distribution: clean
54 rm -f realwork.dvi realwork.imp
55
56 clean:; rm -f realwork.lof realwork.log realwork.lot realwork.toc _*