Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / papers / mh6.5 / Makefile
1 #########################################################################
2 # Instructions to Make, for generation of nice-looking papers using LaTeX
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 latex \\nonstopmode\\input $<; \
12                           then exit 0; else rm $@; exit 1; fi'
13
14 .dvi.imp:;      dviimp $(DFLAGS) -i $@ $<
15
16
17 #############################################################
18 # Here it is...
19 #############################################################
20
21 all:            i-all
22 print:          i-print
23
24
25 #############################################################
26 # mh6
27 #############################################################
28
29 i-all:          mh6.dvi
30
31 i-print:        mh6.dvi true
32                 dvisp $(DFLAGS) -J mh6 mh6
33
34
35 # customization files, et. al., not included below
36 mh6.dvi:        mh6.vrsn
37
38 mh6.vrsn:       mh6.tex version.sh
39                 @: version.sh mh6
40
41 biblio:;        bibtex mh6
42
43 index:;         idx2ind mh6
44                 sed -e 's|%\\newindex|\\newindex|' < mh6.ind > mh6.tmp
45                 mv mh6.tmp mh6.ind
46
47 true:;
48
49
50 ##############################################################################
51 #       Miscellaneous tasks
52 ##############################################################################
53
54 distribution:   clean
55                 rm -f mh6.dvi mh6.imp
56
57 clean:;         rm -f mh6.log mh6.blg mh6.tmp _*