0
|
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 # mh4mm
|
|
27 #############################################################
|
|
28
|
|
29 i-all: mh4mm.dvi
|
|
30
|
|
31 i-print: mh4mm.dvi true
|
|
32 dvisp $(DFLAGS) -J Mh4mm mh4mm
|
|
33
|
|
34 true:;
|
|
35
|
|
36
|
|
37 ##############################################################################
|
|
38 # Miscellaneous tasks
|
|
39 ##############################################################################
|
|
40
|
|
41 distribution: clean
|
|
42 rm -f mh4mm.dvi mh4mm.imp
|
|
43
|
|
44 clean:; rm -f mh4mm.log mh4mm.blg mh4mm.tmp _*
|