]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/papers/mznet/Makefile
Merge branch 'master' into savannah
[nmh] / docs / historical / mh-6.8.5 / papers / mznet / 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 # mznet
27 #############################################################
28
29 i-all: mznet.dvi
30
31 i-print: mznet.dvi true
32 dvisp $(DFLAGS) -J MZnet mznet
33
34
35 # customization files, et. al., not included below
36 mznet.dvi: mznet.tex figure1.tex figure2.tex
37
38
39 ##############################################################################
40 # Miscellaneous tasks
41 ##############################################################################
42
43 distribution: clean
44 rm -f mznet.dvi mznet.imp
45
46 clean:; rm -f mznet.log _*
47
48 true:;