0
|
1 ##############################################################################
|
|
2 # Instructions to Make, for generation of MH documentation sets
|
|
3 #
|
|
4 # This file is automatically generated. Do not edit!
|
|
5 # @(#)$Id$
|
|
6 ##############################################################################
|
|
7
|
|
8 MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS) -k
|
|
9 SHELL = /bin/sh
|
|
10
|
|
11
|
|
12 ##############################################################################
|
|
13 # Generation Rules
|
|
14 ##############################################################################
|
|
15
|
|
16 .SUFFIXES: .cat .dvi .imp
|
|
17
|
|
18 .cat.imp:; catimp -i $@ $<
|
|
19
|
|
20 .dvi.imp:; dviimp -i $@ $<
|
|
21
|
|
22
|
|
23 ######################################################################
|
|
24 # Here it is...
|
|
25 ######################################################################
|
|
26
|
|
27 TARGETS = ../READ-ME \
|
|
28 mh-gen.cat MH.cat ADMIN.cat mh-changes.cat \
|
|
29 bboards.dvi beginners.dvi mh4mm.dvi mh6.dvi multifarious.dvi \
|
|
30 mznet.dvi realwork.dvi trusted.dvi tutorial.dvi
|
|
31
|
|
32 all:; @cd ../config; make version
|
|
33 @for f in $(TARGETS); do $(MAKE) $$f; done
|
|
34
|
|
35
|
|
36 doc: MH.doc ADMIN.doc mh-changes.doc
|
|
37
|
|
38
|
|
39 IMPRESS = mh-gen.imp MH.imp ADMIN.imp mh-changes.imp \
|
|
40 bboards.imp beginners.imp \
|
|
41 mh4mm.imp mh6.imp multifarious.imp mznet.imp realwork.imp \
|
|
42 trusted.imp tutorial.imp
|
|
43
|
|
44 imp:; @for f in $(IMPRESS); do $(MAKE) $$f; done
|
|
45
|
|
46
|
|
47 i-all: all true
|
|
48 lpr -t -J MH-gen mh-gen.cat
|
|
49 lpr -t -J MH MH.cat
|
|
50 lpr -t -J ADMIN ADMIN.cat
|
|
51 lpr -t -J MH-CHANGES mh-changes.cat
|
|
52 lpr -d -J BBoards bboards.dvi
|
|
53 lpr -d -J Beginners beginners.dvi
|
|
54 lpr -d -J MH-4-MM mh4mm.dvi
|
|
55 lpr -d -J mh6.5 mh6.dvi
|
|
56 lpr -d -J Multifarious multifarious.dvi
|
|
57 lpr -d -J MZnet mznet.dvi
|
|
58 lpr -d -J Realwork realwork.dvi
|
|
59 lpr -d -J Trusted trusted.dvi
|
|
60 lpr -d -J Tutorial tutorial.dvi
|
|
61
|
|
62
|
|
63 true:;
|
|
64
|
|
65
|
|
66 #############################################################
|
|
67 # Documentation Set
|
|
68 #############################################################
|
|
69
|
|
70 ADMIN.cat MH.cat \
|
|
71 ADMIN.doc MH.doc \
|
|
72 ADMIN.imp MH.imp: true
|
|
73 cd ../doc; make $@
|
|
74 cp ../doc/$@ $@
|
|
75
|
|
76 ../READ-ME: ../conf/mh-gen.8
|
|
77 nroff -man ../conf/mh-gen.8 > read-me.tmp
|
|
78 mv read-me.tmp $@
|
|
79
|
|
80 mh-gen.cat: ../conf/mh-gen.8
|
|
81 itroff -t -man ../conf/mh-gen.8 > mh-gen.tmp
|
|
82 mv mh-gen.tmp $@
|
|
83
|
|
84 mh-changes.cat \
|
|
85 mh-changes.doc \
|
|
86 mh-changes.imp: true
|
|
87 cd ../papers/changes; make $@
|
|
88 cp ../papers/changes/$@ $@
|
|
89
|
|
90 bboards.imp \
|
|
91 bboards.dvi: true
|
|
92 cd ../papers/bboards; make $@
|
|
93 cp ../papers/bboards/$@ $@
|
|
94
|
|
95 beginners.imp \
|
|
96 beginners.dvi: true
|
|
97 cd ../papers/beginners; make $@
|
|
98 cp ../papers/beginners/$@ $@
|
|
99
|
|
100 mh4mm.imp \
|
|
101 mh4mm.dvi: true
|
|
102 cd ../papers/mh4mm; make $@
|
|
103 cp ../papers/mh4mm/$@ $@
|
|
104
|
|
105 mh6.imp \
|
|
106 mh6.dvi: true
|
|
107 cd ../papers/mh6.5; make $@
|
|
108 cp ../papers/mh6.5/$@ $@
|
|
109
|
|
110 multifarious.imp \
|
|
111 multifarious.dvi: true
|
|
112 cd ../papers/multifarious; make $@
|
|
113 cp ../papers/multifarious/$@ $@
|
|
114
|
|
115 mznet.imp \
|
|
116 mznet.dvi: true
|
|
117 cd ../papers/mznet; make $@
|
|
118 cp ../papers/mznet/$@ $@
|
|
119
|
|
120 realwork.imp \
|
|
121 realwork.dvi: true
|
|
122 cd ../papers/realwork; make $@
|
|
123 cp ../papers/realwork/$@ $@
|
|
124
|
|
125 trusted.imp \
|
|
126 trusted.dvi: true
|
|
127 cd ../papers/trusted; make $@
|
|
128 cp ../papers/trusted/$@ $@
|
|
129
|
|
130 tutorial.imp \
|
|
131 tutorial.dvi: true
|
|
132 cd ../papers/tutorial; make $@
|
|
133 cp ../papers/tutorial/$@ $@
|
|
134
|
|
135
|
|
136 ##############################################################################
|
|
137 # Miscellaneous tasks
|
|
138 ##############################################################################
|
|
139
|
|
140 distribution: clean ../READ-ME
|
|
141
|
|
142 unconfig clean: unclean
|
|
143 rm -f *.cat *.dvi *.imp *.doc
|
|
144
|
|
145 unclean:; rm -f *.tmp _* :* core *.core
|