|
|
1.1 root 1: M4 = @m4
2:
3: MHOME = /usr/lib/monk
4:
5: INSDIR = $(MHOME)/db
6:
7: COMPRESS = $(MHOME)/compress -d .
8:
9: FRC =
10:
11: DBS = \
12: acm \
13: attrib \
14: centerpb \
15: cspress \
16: form1 \
17: global \
18: im \
19: kluwer \
20: letter \
21: macro \
22: memo \
23: model \
24: research \
25: rp \
26: song \
27: tc \
28: tm
29:
30: CDBS = \
31: acm.comp \
32: centerpb.comp \
33: cspress.comp \
34: form1.comp \
35: global.comp \
36: im.comp \
37: kluwer.comp \
38: letter.comp \
39: memo.comp \
40: model.comp \
41: research.comp \
42: rp.comp \
43: song.comp \
44: tc.comp \
45: tm.comp
46:
47: all: doc comp
48:
49: doc: $(DBS)
50:
51: comp: $(CDBS)
52:
53: acm: \
54: acm.m \
55: global.h \
56: macro.h \
57: titlebox.h \
58: titlebox.m \
59: m4.h \
60: $(FRC)
61: $(M4) m4.h acm.m | sed \
62: -e 's/^|||*/|/' \
63: -e '/^|[| ]*$$/d' \
64: -e 's/\\n\([0-9]\)/\1/g' \
65: -e 's/\\n\$$i/$$i/g' \
66: -e 's/^[ ]*//' \
67: -e 's/\\n /\\n/g' \
68: > acm
69: @echo "acm updated"
70:
71: acm.comp: acm attrib $(FRC)
72: $(COMPRESS) acm
73:
74: attrib: \
75: attrib.m \
76: list.h \
77: macro.h \
78: style.h \
79: m4.h \
80: $(FRC)
81: $(M4) m4.h attrib.m | sed \
82: -e "s/^\([.']\)[ ]*\([a-z][a-z]\) /\1\2/" \
83: -e "s/^\([.']\)[ ]*/\1/" \
84: -e '/^.\\"/d' \
85: -e 's/[ ]*\\".*//' \
86: -e 's/^|||*/|/' \
87: -e '/^|[| ]*$$/d' \
88: -e 's/\\n\([0-9]\)/\1/g' \
89: -e 's/\\n\$$i/$$i/g' \
90: -e 's/^[ ]*//' \
91: -e 's/\\n /\\n/g' \
92: > attrib
93: @echo "attrib updated"
94:
95: centerpb: \
96: centerpb.m \
97: macro.h \
98: m4.h \
99: $(FRC)
100: $(M4) m4.h centerpb.m | sed \
101: -e 's/^|||*/|/' \
102: -e '/^|[| ]*$$/d' \
103: -e 's/\\n\([0-9]\)/\1/g' \
104: -e 's/\\n\$$i/$$i/g' \
105: -e 's/^[ ]*//' \
106: -e 's/\\n /\\n/g' \
107: > centerpb
108: @echo "centerpb updated"
109:
110: centerpb.comp: centerpb attrib $(FRC)
111: $(COMPRESS) centerpb
112:
113: cspress: \
114: cspress.m \
115: global.h \
116: macro.h \
117: titlebox.h \
118: titlebox.m \
119: m4.h \
120: $(FRC)
121: $(M4) m4.h cspress.m | sed \
122: -e 's/^|||*/|/' \
123: -e '/^|[| ]*$$/d' \
124: -e 's/\\n\([0-9]\)/\1/g' \
125: -e 's/\\n\$$i/$$i/g' \
126: -e 's/^[ ]*//' \
127: -e 's/\\n /\\n/g' \
128: > cspress
129: @echo "cspress updated"
130:
131: cspress.comp: cspress attrib $(FRC)
132: $(COMPRESS) cspress
133:
134: form1: \
135: form1.m \
136: global.h \
137: macro.h \
138: m4.h \
139: $(FRC)
140: $(M4) m4.h form1.m | sed \
141: -e 's/^|||*/|/' \
142: -e '/^|[| ]*$$/d' \
143: -e 's/\\n\([0-9]\)/\1/g' \
144: -e 's/\\n\$$i/$$i/g' \
145: -e 's/^[ ]*//' \
146: -e 's/\\n /\\n/g' \
147: > form1
148: @echo "form1 updated"
149:
150: form1.comp: form1 attrib $(FRC)
151: $(COMPRESS) form1
152:
153: global: \
154: global.m \
155: envir.h \
156: envir.m \
157: global.h \
158: index.m \
159: list.h \
160: list.m \
161: macro.h \
162: preproc.h \
163: preproc.m \
164: section.h \
165: section.m \
166: set.m \
167: special.m \
168: style.h \
169: style.m \
170: t_contents.m \
171: whitespace.m \
172: m4.h \
173: $(FRC)
174: $(M4) m4.h global.m | sed \
175: -e 's/^|||*/|/' \
176: -e '/^|[| ]*$$/d' \
177: -e 's/\\n\([0-9]\)/\1/g' \
178: -e 's/\\n\$$i/$$i/g' \
179: -e 's/^[ ]*//' \
180: -e 's/\\n /\\n/g' \
181: > global
182: @echo "global updated"
183:
184: global.comp: attrib global macro $(FRC)
185: $(COMPRESS)
186:
187: im: \
188: im.m \
189: coversheet.h \
190: coversheet.m \
191: envir.h \
192: macro.h \
193: preproc.h \
194: titlebox.h \
195: titlebox.m \
196: m4.h \
197: $(FRC)
198: $(M4) m4.h im.m | sed \
199: -e 's/^|||*/|/' \
200: -e '/^|[| ]*$$/d' \
201: -e 's/\\n\([0-9]\)/\1/g' \
202: -e 's/\\n\$$i/$$i/g' \
203: -e 's/^[ ]*//' \
204: -e 's/\\n /\\n/g' \
205: > im
206: @echo "im updated"
207:
208: im.comp: im attrib $(FRC)
209: $(COMPRESS) im
210:
211: kluwer: \
212: kluwer.m \
213: global.h \
214: macro.h \
215: section.h \
216: m4.h \
217: $(FRC)
218: $(M4) m4.h kluwer.m | sed \
219: -e 's/^|||*/|/' \
220: -e '/^|[| ]*$$/d' \
221: -e 's/\\n\([0-9]\)/\1/g' \
222: -e 's/\\n\$$i/$$i/g' \
223: -e 's/^[ ]*//' \
224: -e 's/\\n /\\n/g' \
225: > kluwer
226: @echo "kluwer updated"
227:
228: kluwer.comp: kluwer attrib $(FRC)
229: $(COMPRESS) kluwer
230:
231: letter: \
232: letter.m \
233: macro.h \
234: m4.h \
235: $(FRC)
236: $(M4) m4.h letter.m | sed \
237: -e 's/^|||*/|/' \
238: -e '/^|[| ]*$$/d' \
239: -e 's/\\n\([0-9]\)/\1/g' \
240: -e 's/\\n\$$i/$$i/g' \
241: -e 's/^[ ]*//' \
242: -e 's/\\n /\\n/g' \
243: > letter
244: @echo "letter updated"
245:
246: letter.comp: letter attrib $(FRC)
247: $(COMPRESS) letter
248:
249: macro: \
250: macro.m \
251: macro.h \
252: style.h \
253: m4.h \
254: $(FRC)
255: $(M4) m4.h macro.m | sed \
256: -e "s/^\([.']\)[ ]*\([a-z][a-z]\) /\1\2/" \
257: -e "s/^\([.']\)[ ]*/\1/" \
258: -e '/^.\\"/d' \
259: -e 's/[ ]*\\".*//' \
260: -e 's/^|||*/|/' \
261: -e '/^|[| ]*$$/d' \
262: -e 's/\\n\([0-9]\)/\1/g' \
263: -e 's/\\n\$$i/$$i/g' \
264: -e 's/^[ ]*//' \
265: -e 's/\\n /\\n/g' \
266: > macro
267: @echo "macro updated"
268:
269: memo: \
270: memo.m \
271: macro.h \
272: titlebox.h \
273: titlebox.m \
274: m4.h \
275: $(FRC)
276: $(M4) m4.h memo.m | sed \
277: -e 's/^|||*/|/' \
278: -e '/^|[| ]*$$/d' \
279: -e 's/\\n\([0-9]\)/\1/g' \
280: -e 's/\\n\$$i/$$i/g' \
281: -e 's/^[ ]*//' \
282: -e 's/\\n /\\n/g' \
283: > memo
284: @echo "memo updated"
285:
286: memo.comp: memo attrib $(FRC)
287: $(COMPRESS) memo
288:
289: model: \
290: model.m \
291: global.h \
292: macro.h \
293: titlebox.h \
294: titlebox.m \
295: m4.h \
296: $(FRC)
297: $(M4) m4.h model.m | sed \
298: -e 's/^|||*/|/' \
299: -e '/^|[| ]*$$/d' \
300: -e 's/\\n\([0-9]\)/\1/g' \
301: -e 's/\\n\$$i/$$i/g' \
302: -e 's/^[ ]*//' \
303: -e 's/\\n /\\n/g' \
304: > model
305: @echo "model updated"
306:
307: model.comp: model attrib $(FRC)
308: $(COMPRESS) model
309:
310: research: \
311: research.m \
312: global.h \
313: macro.h \
314: m4.h \
315: $(FRC)
316: $(M4) m4.h research.m | sed \
317: -e 's/^|||*/|/' \
318: -e '/^|[| ]*$$/d' \
319: -e 's/\\n\([0-9]\)/\1/g' \
320: -e 's/\\n\$$i/$$i/g' \
321: -e 's/^[ ]*//' \
322: -e 's/\\n /\\n/g' \
323: > research
324: @echo "research updated"
325:
326: research.comp: research attrib $(FRC)
327: $(COMPRESS) research
328:
329: rp: \
330: rp.m \
331: macro.h \
332: titlebox.h \
333: titlebox.m \
334: m4.h \
335: $(FRC)
336: $(M4) m4.h rp.m | sed \
337: -e 's/^|||*/|/' \
338: -e '/^|[| ]*$$/d' \
339: -e 's/\\n\([0-9]\)/\1/g' \
340: -e 's/\\n\$$i/$$i/g' \
341: -e 's/^[ ]*//' \
342: -e 's/\\n /\\n/g' \
343: > rp
344: @echo "rp updated"
345:
346: rp.comp: rp attrib $(FRC)
347: $(COMPRESS) rp
348:
349: song: \
350: song.m \
351: global.h \
352: m4.h \
353: $(FRC)
354: $(M4) m4.h song.m | sed \
355: -e 's/^|||*/|/' \
356: -e '/^|[| ]*$$/d' \
357: -e 's/\\n\([0-9]\)/\1/g' \
358: -e 's/\\n\$$i/$$i/g' \
359: -e 's/^[ ]*//' \
360: -e 's/\\n /\\n/g' \
361: > song
362: @echo "song updated"
363:
364: song.comp: song attrib $(FRC)
365: $(COMPRESS) song
366:
367: tc: \
368: tc.m \
369: coversheet.h \
370: coversheet.m \
371: envir.h \
372: macro.h \
373: preproc.h \
374: titlebox.h \
375: titlebox.m \
376: m4.h \
377: $(FRC)
378: $(M4) m4.h tc.m | sed \
379: -e 's/^|||*/|/' \
380: -e '/^|[| ]*$$/d' \
381: -e 's/\\n\([0-9]\)/\1/g' \
382: -e 's/\\n\$$i/$$i/g' \
383: -e 's/^[ ]*//' \
384: -e 's/\\n /\\n/g' \
385: > tc
386: @echo "tc updated"
387:
388: tc.comp: tc attrib $(FRC)
389: $(COMPRESS) tc
390:
391: tm: \
392: tm.m \
393: coversheet.h \
394: coversheet.m \
395: envir.h \
396: macro.h \
397: preproc.h \
398: titlebox.h \
399: titlebox.m \
400: m4.h \
401: $(FRC)
402: $(M4) m4.h tm.m | sed \
403: -e 's/^|||*/|/' \
404: -e '/^|[| ]*$$/d' \
405: -e 's/\\n\([0-9]\)/\1/g' \
406: -e 's/\\n\$$i/$$i/g' \
407: -e 's/^[ ]*//' \
408: -e 's/\\n /\\n/g' \
409: > tm
410: @echo "tm updated"
411:
412: tm.comp: tm attrib $(FRC)
413: $(COMPRESS) tm
414:
415: clean:
416:
417: clobber: clean
418: -rm -f $(DBS) $(CDBS)
419:
420: install: all
421: cp $(DBS) $(CDBS) $(INSDIR)
422:
423: debug: doc
424: cp $(DBS) $(INSDIR)
425:
426: summary: $(DBS)
427: @for i in $(DBS) ; \
428: do \
429: echo -e "\n\n$$i doc type\n" ; \
430: grep '|comment<summary: ' $$i | \
431: sed -e 's/|comment<summary: \(.*\)>/\1/' | sort -u ; \
432: done > summary
433: @echo -e '\n' >> summary
434: @cat todo.m >> summary
435: @echo summary updated
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.