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