]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/papers/bboards/Makefile
Added all of the MH sources, including RCS files, in
[nmh] / docs / historical / mh-6.8.5 / papers / bboards / 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 # bboards
28 #############################################################
29
30 i-all: bboards.dvi
31
32 i-print: bboards.dvi true
33 dvisp -J BBoards bboards.dvi
34
35 i-count: true
36 detex text.tex | wc -cw
37
38
39 # customization files, et. al., not included below
40 bboards.dvi: version.tex
41
42 version.tex: bboards.tex text.tex refs.tex version.sh
43 @: version.sh
44
45 true:;
46
47
48 ##############################################################################
49 # Miscellaneous tasks
50 ##############################################################################
51
52 distribution: clean
53 rm -f bboards.dvi bboards.imp
54
55 clean:; rm -f bboards.lof bboards.log bboards.lot bboards.toc _*