Added test of -nosequence to test-pick.
[mmh] / docs / historical / mh-6.8.5 / doc / Makefile
1 ##############################################################################
2 #    Instructions to Make, for generation of MH manual entries
3 #
4 #       This file is automatically generated.  Do not edit!
5 # @(#)$Id: doc,v 2.26 1993/08/27 22:15:57 jromine Exp $
6 ##############################################################################
7
8 BINDIR  =       $(DESTDIR)/opt/mh-6.8.5/bin
9 ETCDIR  =       $(DESTDIR)/opt/mh-6.8.5/lib
10 MANDIR  =       $(DESTDIR)/opt/mh-6.8.5/man
11 DIR1    =       man1
12 EXT1    =       1
13 DIR5    =       man5
14 EXT5    =       5
15 DIR8    =       man8
16 EXT8    =       8
17 REMOVE  =       mv -f
18 MANPROT =       0644
19
20 MAN1    =       ali.$(EXT1) anno.$(EXT1) burst.$(EXT1) comp.$(EXT1) \
21                 dist.$(EXT1) folder.$(EXT1) forw.$(EXT1) inc.$(EXT1) \
22                 mark.$(EXT1) mh-chart.$(EXT1) mh.$(EXT1) mhl.$(EXT1) \
23                 mhook.$(EXT1) mhmail.$(EXT1) \
24                 mhn.$(EXT1) \
25                 mhparam.$(EXT1) mhpath.$(EXT1) msgchk.$(EXT1) \
26                 msh.$(EXT1) next.$(EXT1) packf.$(EXT1) pick.$(EXT1) \
27                 prev.$(EXT1) prompter.$(EXT1) rcvstore.$(EXT1) refile.$(EXT1) \
28                 repl.$(EXT1) rmf.$(EXT1) rmm.$(EXT1) scan.$(EXT1) \
29                 send.$(EXT1) show.$(EXT1) slocal.$(EXT1) \
30                 sortm.$(EXT1) vmh.$(EXT1) \
31                 whatnow.$(EXT1) whom.$(EXT1) $(OPTIONS1)  $(OPTIONS2)
32 man1    =       ali anno burst comp dist folder forw inc mark mh-chart mh mhl \
33                 mhook mhmail \
34                 mhn \
35                 mhparam mhpath msgchk msh next packf pick \
36                 prev prompter \
37                 rcvstore refile repl rmf rmm scan send show slocal \
38                 sortm vmh whatnow \
39                 whom $(options1) $(options2)
40 inst-man1=      inst-ali inst-anno inst-burst inst-comp inst-dist inst-folder \
41                 inst-forw inst-inc inst-mark inst-mh-chart inst-mh inst-mhl \
42                 inst-mhook inst-mhmail \
43                 inst-mhn \
44                 inst-mhparam inst-mhpath inst-msgchk inst-msh \
45                 inst-next inst-packf inst-pick \
46                 inst-prev inst-prompter \
47                 inst-rcvstore inst-refile inst-repl inst-rmf inst-rmm \
48                 inst-scan inst-send inst-show inst-slocal inst-sortm inst-vmh \
49                 inst-whatnow inst-whom $(inst-options1) $(inst-options2)
50 Tman1   =       ali.man anno.man burst.man comp.man dist.man folder.man \
51                 forw.man inc.man mark.man mh-chart.man mh.man mhl.man \
52                 mhook.man mhmail.man \
53                 mhn.man \
54                 mhparam.man mhpath.man msgchk.man msh.man next.man packf.man \
55                 pick.man prev.man prompter.man rcvstore.man \
56                 refile.man repl.man rmf.man rmm.man scan.man send.man \
57                 show.man slocal.man \
58                 sortm.man vmh.man whatnow.man whom.man $(Toptions1) \
59                 $(Toptions2)
60
61 MAN5    =       mh-alias.$(EXT5) mh-format.$(EXT5) mh-mail.$(EXT5) \
62                 mh-profile.$(EXT5) mh-sequence.$(EXT5) mh-tailor.$(EXT5)
63 man5    =       mh-alias mh-format mh-mail mh-profile mh-sequence mh-tailor 
64 inst-man5=      inst-mh-alias inst-mh-format inst-mh-mail inst-mh-profile \
65                 inst-mh-sequence inst-mh-tailor 
66 Tman5   =       mh-alias.man mh-format.man mh-mail.man mh-profile.man \
67                 mh-sequence.man mh-tailor.man 
68
69 MAN8    =       ap.$(EXT8) conflict.$(EXT8) dp.$(EXT8) install-mh.$(EXT8) \
70                 post.$(EXT8) fmtdump.$(EXT8) 
71 man8    =       ap conflict dp install-mh \
72                 post fmtdump 
73 inst-man8=      inst-ap inst-conflict inst-dp inst-install-mh \
74                 inst-post \
75                 inst-fmtdump 
76 Tman8   =       ap.man conflict.man dp.man install-mh.man \
77                 post.man \
78                 fmtdump.man 
79
80
81 ##############################################################################
82 #       Generation Rules
83 ##############################################################################
84
85 .SUFFIXES:      .me .cat .doc .man .imp
86
87 .me.cat:;       itroff -t -me $< > $@
88
89 .me.doc:;       nroff -Tlpr -me $< > $@
90
91 .me.man:;       cat tmac.me $< | sed -f me2man.sed  > $@
92
93 .cat.imp:;      catimp -i $@ $<
94
95
96 ##############################################################################
97 #       Generate MH manual entries
98 ##############################################################################
99
100 all:             $(man1) $(man5) $(man8)
101
102 install:        inst-all clean
103
104 inst-all:        mkdirs inst-tmac \
105                         $(inst-man1) $(inst-man5) $(inst-man8)
106
107 tar:             $(Tman1) $(Tman5) $(Tman8)
108                  @touch tmac.h $(Tman1) $(Tman5) $(Tman8)
109                  @make -n inst-all > MAKEDOC
110                  @chmod +x MAKEDOC
111                  tar $(TFLAGS) MAKEDOC tmac.h $(Tman1) $(Tman5) $(Tman8)
112                  @rm -f MAKEDOC
113
114 uninstall:;     cd $(MANDIR)/$(DIR1) ; rm -f $(MAN1) 
115                 cd $(MANDIR)/$(DIR5) ; rm -f $(MAN5)
116                 cd $(MANDIR)/$(DIR8) ; rm -f $(MAN8)
117
118
119 ##############################################################################
120 #       Generate MH User's Manual/Administrator's Guide
121 ##############################################################################
122
123 manual:         MH.doc
124
125 guide:          ADMIN.doc
126
127 true:;
128
129
130 ##############################################################################
131 #       MH manual entries
132 ##############################################################################
133
134 mkdirs:         $(MANDIR)/$(DIR1) $(MANDIR)/$(DIR5) $(MANDIR)/$(DIR8)
135
136 $(MANDIR)/$(DIR1) $(MANDIR)/$(DIR5) $(MANDIR)/$(DIR8):
137                 -mkdir $@ && chmod 0755 $@
138
139
140 inst-tmac:      $(ETCDIR)/tmac.h
141
142 $(ETCDIR)/tmac.h:       tmac.h
143                 -$(REMOVE) $@ ztmac.h
144                 cp tmac.h $@
145                 -@chmod $(MANPROT) $@
146                 -@ls -l $@
147                 -@echo ""
148
149
150 inst-ali:       $(MANDIR)/$(DIR1)/ali.$(EXT1)
151
152 $(MANDIR)/$(DIR1)/ali.$(EXT1):  ali.man
153                 -$(REMOVE) $@ zali.man
154                 cp ali.man $@
155                 -@chmod $(MANPROT) $@
156                 -@ls -l $@
157                 -@echo ""
158
159 inst-anno:      $(MANDIR)/$(DIR1)/anno.$(EXT1)
160
161 $(MANDIR)/$(DIR1)/anno.$(EXT1): anno.man
162                 -$(REMOVE) $@ zanno.man
163                 cp anno.man $@
164                 -@chmod $(MANPROT) $@
165                 -@ls -l $@
166                 -@echo ""
167
168 inst-ap:        $(MANDIR)/$(DIR8)/ap.$(EXT8)
169
170 $(MANDIR)/$(DIR8)/ap.$(EXT8):   ap.man
171                 -$(REMOVE) $@ zap.man
172                 cp ap.man $@
173                 -@chmod $(MANPROT) $@
174                 -@ls -l $@
175                 -@echo ""
176
177 inst-bbc:       $(MANDIR)/$(DIR1)/bbc.$(EXT1)
178
179 $(MANDIR)/$(DIR1)/bbc.$(EXT1):  bbc.man
180                 -$(REMOVE) $@ zbbc.man
181                 cp bbc.man $@
182                 -@chmod $(MANPROT) $@
183                 -@ls -l $@
184                 -@echo ""
185
186 inst-bbl:       $(MANDIR)/$(DIR1)/bbl.$(EXT1)
187
188 $(MANDIR)/$(DIR1)/bbl.$(EXT1):  bbl.man
189                 -$(REMOVE) $@ zbbl.man
190                 cp bbl.man $@
191                 -@chmod $(MANPROT) $@
192                 -@ls -l $@
193                 -@echo ""
194
195 inst-bbleader:  $(MANDIR)/$(DIR1)/bbleader.$(EXT1)
196
197 $(MANDIR)/$(DIR1)/bbleader.$(EXT1):     bbleader.man
198                 -$(REMOVE) $@ zbbleader.man
199                 cp bbleader.man $@
200                 -@chmod $(MANPROT) $@
201                 -@ls -l $@
202                 -@echo ""
203
204 inst-bboards:   $(MANDIR)/$(DIR1)/bboards.$(EXT1)
205
206 $(MANDIR)/$(DIR1)/bboards.$(EXT1):      bboards.man
207                 -$(REMOVE) $@ zbboards.man
208                 cp bboards.man $@
209                 -@chmod $(MANPROT) $@
210                 -@ls -l $@
211                 -@echo ""
212
213 inst-burst:     $(MANDIR)/$(DIR1)/burst.$(EXT1)
214
215 $(MANDIR)/$(DIR1)/burst.$(EXT1):        burst.man
216                 -$(REMOVE) $@ zburst.man
217                 cp burst.man $@
218                 -@chmod $(MANPROT) $@
219                 -@ls -l $@
220                 -@echo ""
221
222 inst-cipher:    $(MANDIR)/$(DIR1)/cipher.$(EXT1)
223
224 $(MANDIR)/$(DIR1)/cipher.$(EXT1):       cipher.man
225                 -$(REMOVE) $@ zcipher.man
226                 cp cipher.man $@
227                 -@chmod $(MANPROT) $@
228                 -@ls -l $@
229                 -@echo ""
230
231 inst-comp:      $(MANDIR)/$(DIR1)/comp.$(EXT1)
232
233 $(MANDIR)/$(DIR1)/comp.$(EXT1): comp.man
234                 -$(REMOVE) $@ zcomp.man
235                 cp comp.man $@
236                 -@chmod $(MANPROT) $@
237                 -@ls -l $@
238                 -@echo ""
239
240 inst-conflict:  $(MANDIR)/$(DIR8)/conflict.$(EXT8)
241
242 $(MANDIR)/$(DIR8)/conflict.$(EXT8):     conflict.man
243                 -$(REMOVE) $@ zconflict.man
244                 cp conflict.man $@
245                 -@chmod $(MANPROT) $@
246                 -@ls -l $@
247                 -@echo ""
248
249 inst-decipher:  $(MANDIR)/$(DIR1)/decipher.$(EXT1)
250
251 $(MANDIR)/$(DIR1)/decipher.$(EXT1):     decipher.man
252                 -$(REMOVE) $@ zdecipher.man
253                 cp decipher.man $@
254                 -@chmod $(MANPROT) $@
255                 -@ls -l $@
256                 -@echo ""
257
258 inst-dist:      $(MANDIR)/$(DIR1)/dist.$(EXT1)
259
260 $(MANDIR)/$(DIR1)/dist.$(EXT1): dist.man
261                 -$(REMOVE) $@ zdist.man
262                 cp dist.man $@
263                 -@chmod $(MANPROT) $@
264                 -@ls -l $@
265                 -@echo ""
266
267 inst-dp:        $(MANDIR)/$(DIR8)/dp.$(EXT8)
268
269 $(MANDIR)/$(DIR8)/dp.$(EXT8):   dp.man
270                 -$(REMOVE) $@ zdp.man
271                 cp dp.man $@
272                 -@chmod $(MANPROT) $@
273                 -@ls -l $@
274                 -@echo ""
275
276 inst-folder:    $(MANDIR)/$(DIR1)/folder.$(EXT1)
277
278 $(MANDIR)/$(DIR1)/folder.$(EXT1):       folder.man
279                 -$(REMOVE) $@ zfolder.man
280                 cp folder.man $@
281                 -@chmod $(MANPROT) $@
282                 -@ls -l $@
283                 -@echo ""
284
285 inst-fmtdump:   $(MANDIR)/$(DIR8)/fmtdump.$(EXT8)
286
287 $(MANDIR)/$(DIR8)/fmtdump.$(EXT8):      fmtdump.man
288                 -$(REMOVE) $@ zfmtdump.man
289                 cp fmtdump.man $@
290                 -@chmod $(MANPROT) $@
291                 -@ls -l $@
292                 -@echo ""
293
294 inst-forw:      $(MANDIR)/$(DIR1)/forw.$(EXT1)
295
296 $(MANDIR)/$(DIR1)/forw.$(EXT1): forw.man
297                 -$(REMOVE) $@ zforw.man
298                 cp forw.man $@
299                 -@chmod $(MANPROT) $@
300                 -@ls -l $@
301                 -@echo ""
302
303 inst-inc:       $(MANDIR)/$(DIR1)/inc.$(EXT1)
304
305 $(MANDIR)/$(DIR1)/inc.$(EXT1):  inc.man
306                 -$(REMOVE) $@ zinc.man
307                 cp inc.man $@
308                 -@chmod $(MANPROT) $@
309                 -@ls -l $@
310                 -@echo ""
311
312 inst-install-mh: $(MANDIR)/$(DIR8)/install-mh.$(EXT8)
313
314 $(MANDIR)/$(DIR8)/install-mh.$(EXT8): install-mh.man
315                 -$(REMOVE) $@ zinstall-mh.man
316                 cp install-mh.man $@
317                 -@chmod $(MANPROT) $@
318                 -@ls -l $@
319                 -@echo ""
320
321 inst-mark:      $(MANDIR)/$(DIR1)/mark.$(EXT1)
322
323 $(MANDIR)/$(DIR1)/mark.$(EXT1): mark.man
324                 -$(REMOVE) $@ zmark.man
325                 cp mark.man $@
326                 -@chmod $(MANPROT) $@
327                 -@ls -l $@
328                 -@echo ""
329
330 inst-mh-alias:  $(MANDIR)/$(DIR5)/mh-alias.$(EXT5)
331
332 $(MANDIR)/$(DIR5)/mh-alias.$(EXT5):     mh-alias.man
333                 -$(REMOVE) $@ zmh-alias.man
334                 cp mh-alias.man $@
335                 -@chmod $(MANPROT) $@
336                 -@ls -l $@
337                 -@echo ""
338
339 inst-mh-format: $(MANDIR)/$(DIR5)/mh-format.$(EXT5)
340
341 $(MANDIR)/$(DIR5)/mh-format.$(EXT5):    mh-format.man
342                 -$(REMOVE) $@ zmh-format.man
343                 cp mh-format.man $@
344                 -@chmod $(MANPROT) $@
345                 -@ls -l $@
346                 -@echo ""
347
348 inst-mh-chart:  $(MANDIR)/$(DIR1)/mh-chart.$(EXT1)
349
350 $(MANDIR)/$(DIR1)/mh-chart.$(EXT1):     mh-chart.man
351                 -$(REMOVE) $@ zmh-chart.man
352                 cp mh-chart.man $@
353                 -@chmod $(MANPROT) $@
354                 -@ls -l $@
355                 -@echo ""
356
357 inst-mh-mail:   $(MANDIR)/$(DIR5)/mh-mail.$(EXT5)
358
359 $(MANDIR)/$(DIR5)/mh-mail.$(EXT5):      mh-mail.man
360                 -$(REMOVE) $@ zmh-mail.man
361                 cp mh-mail.man $@
362                 -@chmod $(MANPROT) $@
363                 -@ls -l $@
364                 -@echo ""
365
366 inst-mh-tailor: $(MANDIR)/$(DIR5)/mh-tailor.$(EXT5)
367
368 $(MANDIR)/$(DIR5)/mh-tailor.$(EXT5):    mh-tailor.man
369                 -$(REMOVE) $@ zmh-tailor.man
370                 cp mh-tailor.man $@
371                 -@chmod $(MANPROT) $@
372                 -@ls -l $@
373                 -@echo ""
374
375 inst-mh-profile:        $(MANDIR)/$(DIR5)/mh-profile.$(EXT5)
376
377 $(MANDIR)/$(DIR5)/mh-profile.$(EXT5):   mh-profile.man
378                 -$(REMOVE) $@ zmh-profile.man
379                 cp mh-profile.man $@
380                 -@chmod $(MANPROT) $@
381                 -@ls -l $@
382                 -@echo ""
383
384 inst-mh-sequence:       $(MANDIR)/$(DIR5)/mh-sequence.$(EXT5)
385
386 $(MANDIR)/$(DIR5)/mh-sequence.$(EXT5):  mh-sequence.man
387                 -$(REMOVE) $@ zmh-sequence.man
388                 cp mh-sequence.man $@
389                 -@chmod $(MANPROT) $@
390                 -@ls -l $@
391                 -@echo ""
392
393 inst-mhook:     $(MANDIR)/$(DIR1)/mhook.$(EXT1)
394
395 $(MANDIR)/$(DIR1)/mhook.$(EXT1):        mhook.man
396                 -$(REMOVE) $@ zmhook.man
397                 cp mhook.man $@
398                 -@chmod $(MANPROT) $@
399                 -@ls -l $@
400                 -@echo ""
401
402 inst-mh:        $(MANDIR)/$(DIR1)/mh.$(EXT1)
403
404 $(MANDIR)/$(DIR1)/mh.$(EXT1):   mh.man
405                 -$(REMOVE) $@ zmh.man
406                 cp mh.man $@
407                 -@chmod $(MANPROT) $@
408                 -@ls -l $@
409                 -@echo ""
410
411 inst-mhl:       $(MANDIR)/$(DIR1)/mhl.$(EXT1)
412
413 $(MANDIR)/$(DIR1)/mhl.$(EXT1):  mhl.man
414                 -$(REMOVE) $@ zmhl.man
415                 cp mhl.man $@
416                 -@chmod $(MANPROT) $@
417                 -@ls -l $@
418                 -@echo ""
419
420 inst-mhmail:    $(MANDIR)/$(DIR1)/mhmail.$(EXT1)
421
422 $(MANDIR)/$(DIR1)/mhmail.$(EXT1):       mhmail.man
423                 -$(REMOVE) $@ zmhmail.man
424                 cp mhmail.man $@
425                 -@chmod $(MANPROT) $@
426                 -@ls -l $@
427                 -@echo ""
428
429 inst-mhn:       $(MANDIR)/$(DIR1)/mhn.$(EXT1)
430
431 $(MANDIR)/$(DIR1)/mhn.$(EXT1):  mhn.man
432                 -$(REMOVE) $@ zmhn.man
433                 cp mhn.man $@
434                 -@chmod $(MANPROT) $@
435                 -@ls -l $@
436                 -@echo ""
437
438 inst-mhparam:   $(MANDIR)/$(DIR1)/mhparam.$(EXT1)
439
440 $(MANDIR)/$(DIR1)/mhparam.$(EXT1):      mhparam.man
441                 -$(REMOVE) $@ zmhparam.man
442                 cp mhparam.man $@
443                 -@chmod $(MANPROT) $@
444                 -@ls -l $@
445                 -@echo ""
446
447 inst-mhpath:    $(MANDIR)/$(DIR1)/mhpath.$(EXT1)
448
449 $(MANDIR)/$(DIR1)/mhpath.$(EXT1):       mhpath.man
450                 -$(REMOVE) $@ zmhpath.man
451                 cp mhpath.man $@
452                 -@chmod $(MANPROT) $@
453                 -@ls -l $@
454                 -@echo ""
455
456 inst-msgchk:    $(MANDIR)/$(DIR1)/msgchk.$(EXT1)
457
458 $(MANDIR)/$(DIR1)/msgchk.$(EXT1):       msgchk.man
459                 -$(REMOVE) $@ zmsgchk.man
460                 cp msgchk.man $@
461                 -@chmod $(MANPROT) $@
462                 -@ls -l $@
463                 -@echo ""
464
465 inst-msh:       $(MANDIR)/$(DIR1)/msh.$(EXT1)
466
467 $(MANDIR)/$(DIR1)/msh.$(EXT1):  msh.man
468                 -$(REMOVE) $@ zmsh.man
469                 cp msh.man $@
470                 -@chmod $(MANPROT) $@
471                 -@ls -l $@
472                 -@echo ""
473
474 inst-next:      $(MANDIR)/$(DIR1)/next.$(EXT1)
475
476 $(MANDIR)/$(DIR1)/next.$(EXT1): next.man
477                 -$(REMOVE) $@ znext.man
478                 cp next.man $@
479                 -@chmod $(MANPROT) $@
480                 -@ls -l $@
481                 -@echo ""
482
483 inst-packf:     $(MANDIR)/$(DIR1)/packf.$(EXT1)
484
485 $(MANDIR)/$(DIR1)/packf.$(EXT1):        packf.man
486                 -$(REMOVE) $@ zpackf.man
487                 cp packf.man $@
488                 -@chmod $(MANPROT) $@
489                 -@ls -l $@
490                 -@echo ""
491
492 inst-popauth:   $(MANDIR)/$(DIR8)/popauth.$(EXT8)
493
494 $(MANDIR)/$(DIR8)/popauth.$(EXT8):      popauth.man
495                 -$(REMOVE) $@ zpopauth.man
496                 cp popauth.man $@
497                 -@chmod $(MANPROT) $@
498                 -@ls -l $@
499                 -@echo ""
500
501 inst-popi:      $(MANDIR)/$(DIR1)/popi.$(EXT1)
502
503 $(MANDIR)/$(DIR1)/popi.$(EXT1): popi.man
504                 -$(REMOVE) $@ zpopi.man
505                 cp popi.man $@
506                 -@chmod $(MANPROT) $@
507                 -@ls -l $@
508                 -@echo ""
509
510 inst-pick:      $(MANDIR)/$(DIR1)/pick.$(EXT1)
511
512 $(MANDIR)/$(DIR1)/pick.$(EXT1): pick.man
513                 -$(REMOVE) $@ zpick.man
514                 cp pick.man $@
515                 -@chmod $(MANPROT) $@
516                 -@ls -l $@
517                 -@echo ""
518
519 inst-post:      $(MANDIR)/$(DIR8)/post.$(EXT8)
520
521 $(MANDIR)/$(DIR8)/post.$(EXT8): post.man
522                 -$(REMOVE) $@ zpost.man
523                 cp post.man $@
524                 -@chmod $(MANPROT) $@
525                 -@ls -l $@
526                 -@echo ""
527
528 inst-prev:      $(MANDIR)/$(DIR1)/prev.$(EXT1)
529
530 $(MANDIR)/$(DIR1)/prev.$(EXT1): prev.man
531                 -$(REMOVE) $@ zprev.man
532                 cp prev.man $@
533                 -@chmod $(MANPROT) $@
534                 -@ls -l $@
535                 -@echo ""
536
537 inst-prompter:  $(MANDIR)/$(DIR1)/prompter.$(EXT1)
538
539 $(MANDIR)/$(DIR1)/prompter.$(EXT1):     prompter.man
540                 -$(REMOVE) $@ zprompter.man
541                 cp prompter.man $@
542                 -@chmod $(MANPROT) $@
543                 -@ls -l $@
544                 -@echo ""
545
546 inst-rcvstore:  $(MANDIR)/$(DIR1)/rcvstore.$(EXT1)
547
548 $(MANDIR)/$(DIR1)/rcvstore.$(EXT1):     rcvstore.man
549                 -$(REMOVE) $@ zrcvstore.man
550                 cp rcvstore.man $@
551                 -@chmod $(MANPROT) $@
552                 -@ls -l $@
553                 -@echo ""
554
555 inst-refile:    $(MANDIR)/$(DIR1)/refile.$(EXT1)
556
557 $(MANDIR)/$(DIR1)/refile.$(EXT1):       refile.man
558                 -$(REMOVE) $@ zrefile.man
559                 cp refile.man $@
560                 -@chmod $(MANPROT) $@
561                 -@ls -l $@
562                 -@echo ""
563
564 inst-repl:      $(MANDIR)/$(DIR1)/repl.$(EXT1)
565
566 $(MANDIR)/$(DIR1)/repl.$(EXT1): repl.man
567                 -$(REMOVE) $@ zrepl.man
568                 cp repl.man $@
569                 -@chmod $(MANPROT) $@
570                 -@ls -l $@
571                 -@echo ""
572
573 inst-rmm:       $(MANDIR)/$(DIR1)/rmm.$(EXT1)
574
575 $(MANDIR)/$(DIR1)/rmm.$(EXT1):  rmm.man
576                 -$(REMOVE) $@ zrmm.man
577                 cp rmm.man $@
578                 -@chmod $(MANPROT) $@
579                 -@ls -l $@
580                 -@echo ""
581
582 inst-rmf:       $(MANDIR)/$(DIR1)/rmf.$(EXT1)
583
584 $(MANDIR)/$(DIR1)/rmf.$(EXT1):  rmf.man
585                 -$(REMOVE) $@ zrmf.man
586                 cp rmf.man $@
587                 -@chmod $(MANPROT) $@
588                 -@ls -l $@
589                 -@echo ""
590
591 inst-scan:      $(MANDIR)/$(DIR1)/scan.$(EXT1)
592
593 $(MANDIR)/$(DIR1)/scan.$(EXT1): scan.man
594                 -$(REMOVE) $@ zscan.man
595                 cp scan.man $@
596                 -@chmod $(MANPROT) $@
597                 -@ls -l $@
598                 -@echo ""
599
600 inst-send:      $(MANDIR)/$(DIR1)/send.$(EXT1)
601
602 $(MANDIR)/$(DIR1)/send.$(EXT1): send.man
603                 -$(REMOVE) $@ zsend.man
604                 cp send.man $@
605                 -@chmod $(MANPROT) $@
606                 -@ls -l $@
607                 -@echo ""
608
609 inst-show:      $(MANDIR)/$(DIR1)/show.$(EXT1)
610
611 $(MANDIR)/$(DIR1)/show.$(EXT1): show.man
612                 -$(REMOVE) $@ zshow.man
613                 cp show.man $@
614                 -@chmod $(MANPROT) $@
615                 -@ls -l $@
616                 -@echo ""
617
618 inst-slocal:    $(MANDIR)/$(DIR1)/slocal.$(EXT1)
619
620 $(MANDIR)/$(DIR1)/slocal.$(EXT1):       slocal.man
621                 -$(REMOVE) $@ zslocal.man
622                 cp slocal.man $@
623                 -@chmod $(MANPROT) $@
624                 -@ls -l $@
625                 -@echo ""
626
627 inst-sortm:     $(MANDIR)/$(DIR1)/sortm.$(EXT1)
628
629 $(MANDIR)/$(DIR1)/sortm.$(EXT1):        sortm.man
630                 -$(REMOVE) $@ zsortm.man
631                 cp sortm.man $@
632                 -@chmod $(MANPROT) $@
633                 -@ls -l $@
634                 -@echo ""
635
636 inst-tma:       $(MANDIR)/$(DIR1)/tma.$(EXT1)
637
638 $(MANDIR)/$(DIR1)/tma.$(EXT1):  tma.man
639                 -$(REMOVE) $@ ztma.man
640                 cp tma.man $@
641                 -@chmod $(MANPROT) $@
642                 -@ls -l $@
643                 -@echo ""
644
645 inst-vmh:       $(MANDIR)/$(DIR1)/vmh.$(EXT1)
646
647 $(MANDIR)/$(DIR1)/vmh.$(EXT1):  vmh.man
648                 -$(REMOVE) $@ zvmh.man
649                 cp vmh.man $@
650                 -@chmod $(MANPROT) $@
651                 -@ls -l $@
652                 -@echo ""
653
654 inst-whatnow:   $(MANDIR)/$(DIR1)/whatnow.$(EXT1)
655
656 $(MANDIR)/$(DIR1)/whatnow.$(EXT1):      whatnow.man
657                 -$(REMOVE) $@ zwhatnow.man
658                 cp whatnow.man $@
659                 -@chmod $(MANPROT) $@
660                 -@ls -l $@
661                 -@echo ""
662
663 inst-whom:      $(MANDIR)/$(DIR1)/whom.$(EXT1)
664
665 $(MANDIR)/$(DIR1)/whom.$(EXT1): whom.man
666                 -$(REMOVE) $@ zwhom.man
667                 cp whom.man $@
668                 -@chmod $(MANPROT) $@
669                 -@ls -l $@
670                 -@echo ""
671
672
673 ##############################################################################
674 #       Dependencies
675 ##############################################################################
676
677 ali:            ali.man
678 anno:           anno.man
679 ap:             ap.man
680 bbc:            bbc.man
681 bbl:            bbl.man
682 bbleader:       bbleader.man
683 bboards:        bboards.man
684 burst:          burst.man
685 cipher:         cipher.man
686 comp:           comp.man
687 conflict:       conflict.man
688 decipher:       decipher.man
689 dist:           dist.man
690 dp:             dp.man
691 fmtdump:        fmtdump.man
692 folder:         folder.man
693 forw:           forw.man
694 inc:            inc.man
695 install-mh:     install-mh.man
696 mark:           mark.man
697 mh-alias:       mh-alias.man
698 mh-format:      mh-format.man
699 mh-chart:       mh-chart.man
700 mh-mail:        mh-mail.man
701 mh-profile:     mh-profile.man
702 mh-sequence:    mh-sequence.man
703 mh-tailor:      mh-tailor.man
704 mhook:          mhook.man
705 mh:             mh.man
706 mhl:            mhl.man
707 mhmail:         mhmail.man
708 mhparam:        mhparam.man
709 mhpath:         mhpath.man
710 mhn:            mhn.man
711 msgchk:         msgchk.man
712 msh:            msh.man
713 next:           next.man
714 packf:          packf.man
715 pick:           pick.man
716 popauth:        popauth.man
717 popi:           popi.man
718 post:           post.man
719 prev:           prev.man
720 prompter:       prompter.man
721 rcvstore:       rcvstore.man
722 refile:         refile.man
723 repl:           repl.man
724 rmf:            rmf.man
725 rmm:            rmm.man
726 scan:           scan.man
727 send:           send.man
728 show:           show.man
729 slocal:         slocal.man
730 sortm:          sortm.man
731 tma:            tma.man
732 vmh:            vmh.man
733 whatnow:        whatnow.man
734 whom:           whom.man
735
736 MH.cat MH.doc:  ali.me anno.me bbc.me bbl.me bbleader.me bboards.me comp.me \
737                 dist.me folder.me forw.me inc.me mark.me mh-chart.me mh.me \
738                 mhl.me mhmail.me \
739                 mhn.me \
740                 mhook.me mhparam.me mhpath.me msgchk.me msh.me \
741                 next.me packf.me pick.me \
742                 prev.me prompter.me \
743                 rcvstore.me refile.me repl.me rmf.me rmm.me scan.me send.me \
744                 show.me slocal.me \
745                 sortm.me vmh.me whatnow.me whom.me mh-alias.me \
746                 mh-format.me mh-mail.me mh-profile.me mh-sequence.me \
747                 ap.me conflict.me dp.me install-mh.me fmtdump.me \
748                 post.me \
749                 version.rf
750
751 ADMIN.cat ADMIN.doc: \
752                 mh-tailor.me mh-mts.me \
753                 bboards5.me bbaka.me bbexp.me bboards8.me bbtar.me \
754                 pop5.me pop8.me popaka.me \
755                 popd.me popwrd.me \
756                 mf.me rmail.me \
757                 mh-hack.me \
758                 version.rf
759
760
761 ##############################################################################
762 #       Miscellaneous tasks
763 ##############################################################################
764
765 lint:;          
766
767 version.rf:
768                 cd ../config; make version
769
770 unconfig:       distribution
771                 -rm -f version.rf me2man.sed Makefile
772
773 distribution:   clean
774                 -rm -f *.me tmac.h
775
776 clean:          unclean
777                 -rm -f *.man *.doc *.cat *.imp
778
779 unclean:;       -rm -f z* _* :* core MAKEDOC
780
781 depend:;
782
783
784 ##############################################################################
785 #  MODIFICATIONS -- Adding a new program (e.g., pickle [section n])
786 ##############################################################################
787
788 #    Add pickle.$(EXT[N]) to MAN[N]
789 #    Add pickle to man[n]
790 #    Add inst-pickle to inst-man[n]
791 #    Add pickle.man to Tman[n]
792 #
793 #    Under the "MH manual entries" section, add this incantation
794 #       inst-pickle:    $(MANDIR)/$(DIR[n])/pickle.$(EXT[n])
795 #       
796 #       $(MANDIR)/$(DIR[n])/pickle.$(EXT[n]):   pickle.man
797 #                       -$(REMOVE) $@ zpickle.man
798 #                       cp pickle.man $@
799 #                       -@chmod $(MANPROT) $@
800 #                       -@ls -l $@
801 #                       -@echo ""
802 #
803 #    Under the "Dependencies" section, add a line for pickle
804 #       pickle:         pickle.man
805 #
806 #    Add pickle.me to MH.cat