]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/papers/mh4/Makefile
Remove msh(1).
[nmh] / docs / historical / mh-6.8.5 / papers / mh4 / 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 # mh4
28 #############################################################
29
30 i-all: mh4.dvi
31
32 i-print: mh4.dvi true
33 dvisp -V -J MH4 $(DFLAGS) mh4.dvi
34
35 i-count: true
36 detex text.tex | wc -cw
37
38
39 # customization files, et. al., not included below
40 mh4.dvi: version.tex
41
42 version.tex: mh4.tex text.tex version.sh
43 @: version.sh
44
45 true:;
46
47
48 ##############################################################################
49 # Miscellaneous tasks
50 ##############################################################################
51
52 distribution: clean
53 rm -f mh4.dvi mh4.imp
54
55 clean:; rm -f CONTENTS.tex FIGURES.tex \
56 mh4.lof mh4.log mh4.lot mh4.toc _*