Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / makefiles / support / RCS / general,v
1 head    1.20;
2 access;
3 symbols;
4 locks; strict;
5 comment @# @;
6
7
8 1.20
9 date    95.12.06.20.57.55;      author jromine; state Exp;
10 branches;
11 next    1.19;
12
13 1.19
14 date    93.08.20.15.56.25;      author jromine; state Exp;
15 branches;
16 next    1.18;
17
18 1.18
19 date    92.10.28.18.56.06;      author jromine; state Exp;
20 branches;
21 next    1.17;
22
23 1.17
24 date    92.10.26.16.38.00;      author jromine; state Exp;
25 branches;
26 next    1.16;
27
28 1.16
29 date    92.10.16.21.36.34;      author jromine; state Exp;
30 branches;
31 next    1.15;
32
33 1.15
34 date    92.02.14.16.25.03;      author jromine; state Exp;
35 branches;
36 next    1.14;
37
38 1.14
39 date    92.02.09.21.29.00;      author jromine; state Exp;
40 branches;
41 next    1.13;
42
43 1.13
44 date    92.01.31.22.48.43;      author jromine; state Exp;
45 branches;
46 next    1.12;
47
48 1.12
49 date    92.01.31.21.37.07;      author jromine; state Exp;
50 branches;
51 next    1.11;
52
53 1.11
54 date    92.01.31.16.38.59;      author jromine; state Exp;
55 branches;
56 next    1.10;
57
58 1.10
59 date    90.04.05.15.16.25;      author sources; state Exp;
60 branches;
61 next    1.9;
62
63 1.9
64 date    90.03.28.11.17.40;      author sources; state Exp;
65 branches;
66 next    1.8;
67
68 1.8
69 date    90.03.21.09.57.11;      author sources; state Exp;
70 branches;
71 next    1.7;
72
73 1.7
74 date    90.03.20.20.33.18;      author sources; state Exp;
75 branches;
76 next    1.6;
77
78 1.6
79 date    90.03.20.20.30.34;      author sources; state Exp;
80 branches;
81 next    1.5;
82
83 1.5
84 date    90.03.15.21.13.57;      author sources; state Exp;
85 branches;
86 next    1.4;
87
88 1.4
89 date    90.03.15.21.05.13;      author sources; state Exp;
90 branches;
91 next    1.3;
92
93 1.3
94 date    90.03.15.16.48.07;      author sources; state Exp;
95 branches;
96 next    1.2;
97
98 1.2
99 date    90.02.21.16.56.14;      author sources; state Exp;
100 branches;
101 next    1.1;
102
103 1.1
104 date    90.02.06.12.54.15;      author sources; state Exp;
105 branches;
106 next    ;
107
108
109 desc
110 @@
111
112
113 1.20
114 log
115 @pgp changes from mtr
116 @
117 text
118 @##############################################################################
119 #    Instructions to Make, for general support processes
120 #
121 #       @@(MHWARNING)
122 # @@(#)$Id: general,v 1.19 1993/08/20 15:56:25 jromine Exp jromine $
123 ##############################################################################
124
125 # The following entries were inserted during MH configuration
126 BINDIR  =       $(DESTDIR)@@(MHBINPATH)
127 ETCDIR  =       $(DESTDIR)@@(MHETCPATH)
128 @@BEGIN: BBSERVER
129 BBUID   =       bboards
130 IOPTMISC=       inst-bboards
131 UOPTMISC=       BBoardAliases
132 TOPTMISC=       BBoardAliases
133 @@END: BBSERVER
134 @@BEGIN: MIME
135 IOPTMIME=       inst-mhndefs inst-viamail inst-pgpmime
136 UOPTMIME=       mhn_defaults viamail
137 TOPTMIME=       mhn_defaults viamail
138 @@END: MIME
139 REMOVE  =       @@(MHREMOVE)
140 FILPROT =       0644
141 PGMPROT =       0755
142 CP      =       @@(CP)
143
144 TALL    =       MailAliases components digestcomps distcomps forwcomps \
145                 rcvdistcomps replcomps mhl.digest mhl.format mhl.forward \
146                 mhl.body mhl.headers scan.default scan.mailx scan.size \
147                 scan.time scan.timely packmbox $(TOPTMISC) $(TOPTMIME)
148
149
150 ##############################################################################
151 #       Generate miscellaneous stuff
152 ##############################################################################
153
154 all:;
155
156 depend:;
157
158 lint:;
159
160 install:        inst-all clean
161
162 inst-all:       inst-aliases inst-components inst-digestcomps inst-distcomps \
163                 inst-forwcomps inst-rcvdistcomps inst-replcomps inst-digest \
164                 inst-format inst-forward inst-body inst-headers inst-mailx \
165                 inst-default inst-size inst-time inst-timely \
166                 inst-packmbox $(IOPTMISC) $(IOPTMIME)
167
168 tar:;           @@touch $(TALL)
169                 @@make -n inst-all > MAKEGEN
170                 @@chmod +x MAKEGEN
171                 tar $(TFLAGS) MAKEGEN $(TALL)
172                 @@rm -f MAKEGEN
173
174
175 uninstall:;     cd $(ETCDIR); \
176                 rm -f MailAliases components digestcomps distcomps forwcomps \
177                     rcvdistcomps replcomps mhl.digest mhl.format mhl.forward \
178                     mhl.body mhl.headers scan.default scan.mailx scan.size \
179                     scan.time scan.timely viamail packmbox \
180                     $(UOPTMISC) $(UOPTMIME)
181
182
183 ##############################################################################
184 #       Individual components
185 ##############################################################################
186
187 inst-aliases:   $(ETCDIR)/MailAliases
188
189 $(ETCDIR)/MailAliases:  MailAliases
190                 -@@if [ ! -f $@@ ]; then \
191                     $(REMOVE) $@@ zMailAliases; \
192                     $(CP) MailAliases $@@; \
193                 else \
194                     echo "Will not overwrite existing $@@"; \
195                 fi
196                 -@@chmod $(FILPROT) $@@
197                 -@@ls -l $@@
198                 -@@echo ""
199
200
201 inst-components:        $(ETCDIR)/components
202
203 $(ETCDIR)/components:   components
204                 -$(REMOVE) $@@ zcomponents
205                 $(CP) components $@@
206                 -@@chmod $(FILPROT) $@@
207                 -@@ls -l $@@
208                 -@@echo ""
209
210
211 inst-digestcomps:       $(ETCDIR)/digestcomps
212
213 $(ETCDIR)/digestcomps:  digestcomps
214                 -$(REMOVE) $@@ zdigestcomps
215                 $(CP) digestcomps $@@
216                 -@@chmod $(FILPROT) $@@
217                 -@@ls -l $@@
218                 -@@echo ""
219
220
221 inst-distcomps: $(ETCDIR)/distcomps
222
223 $(ETCDIR)/distcomps:    distcomps
224                 -$(REMOVE) $@@ zdistcomps
225                 $(CP) distcomps $@@
226                 -@@chmod $(FILPROT) $@@
227                 -@@ls -l $@@
228                 -@@echo ""
229
230
231 inst-forwcomps: $(ETCDIR)/forwcomps
232
233 $(ETCDIR)/forwcomps:    forwcomps
234                 -$(REMOVE) $@@ zforwcomps
235                 $(CP) forwcomps $@@
236                 -@@chmod $(FILPROT) $@@
237                 -@@ls -l $@@
238                 -@@echo ""
239
240
241 inst-rcvdistcomps:      $(ETCDIR)/rcvdistcomps
242
243 $(ETCDIR)/rcvdistcomps: rcvdistcomps
244                 -$(REMOVE) $@@ zrcvdistcomps
245                 $(CP) rcvdistcomps $@@
246                 -@@chmod $(FILPROT) $@@
247                 -@@ls -l $@@
248                 -@@echo ""
249
250
251 inst-replcomps: $(ETCDIR)/replcomps
252
253 $(ETCDIR)/replcomps:    replcomps
254                 -$(REMOVE) $@@ zreplcomps
255                 $(CP) replcomps $@@
256                 -@@chmod $(FILPROT) $@@
257                 -@@ls -l $@@
258                 -@@echo ""
259
260
261 inst-digest:    $(ETCDIR)/mhl.digest
262
263 $(ETCDIR)/mhl.digest:   mhl.digest
264                 -$(REMOVE) $@@ zmhl.digest
265                 $(CP) mhl.digest $@@
266                 -@@chmod $(FILPROT) $@@
267                 -@@ls -l $@@
268                 -@@echo ""
269
270
271 inst-format:    $(ETCDIR)/mhl.format
272
273 $(ETCDIR)/mhl.format:   mhl.format
274                 -$(REMOVE) $@@ zmhl.format
275                 $(CP) mhl.format $@@
276                 -@@chmod $(FILPROT) $@@
277                 -@@ls -l $@@
278                 -@@echo ""
279
280
281 inst-forward:   $(ETCDIR)/mhl.forward
282
283 $(ETCDIR)/mhl.forward:  mhl.forward
284                 -$(REMOVE) $@@ zmhl.forward
285                 $(CP) mhl.forward $@@
286                 -@@chmod $(FILPROT) $@@
287                 -@@ls -l $@@
288                 -@@echo ""
289
290
291 inst-body:      $(ETCDIR)/mhl.body
292
293 $(ETCDIR)/mhl.body:     mhl.body
294                 -$(REMOVE) $@@ zmhl.body
295                 $(CP) mhl.body $@@
296                 -@@chmod $(FILPROT) $@@
297                 -@@ls -l $@@
298                 -@@echo ""
299
300
301 inst-headers:   $(ETCDIR)/mhl.headers
302
303 $(ETCDIR)/mhl.headers:  mhl.headers
304                 -$(REMOVE) $@@ zmhl.headers
305                 cp mhl.headers $@@
306                 -@@chmod $(FILPROT) $@@
307                 -@@ls -l $@@
308                 -@@echo ""
309
310
311 inst-default:   $(ETCDIR)/scan.default
312
313 $(ETCDIR)/scan.default: scan.default
314                 -$(REMOVE) $@@ zscan.default
315                 $(CP) scan.default $@@
316                 -@@chmod $(FILPROT) $@@
317                 -@@ls -l $@@
318                 -@@echo ""
319
320 inst-mailx:     $(ETCDIR)/scan.mailx
321
322 $(ETCDIR)/scan.mailx:   scan.mailx
323                 -$(REMOVE) $@@ zscan.mailx
324                 $(CP) scan.mailx $@@
325                 -@@chmod $(FILPROT) $@@
326                 -@@ls -l $@@
327                 -@@echo ""
328
329
330 inst-size:      $(ETCDIR)/scan.size
331
332 $(ETCDIR)/scan.size:    scan.size
333                 -$(REMOVE) $@@ zscan.size
334                 $(CP) scan.size $@@
335                 -@@chmod $(FILPROT) $@@
336                 -@@ls -l $@@
337                 -@@echo ""
338
339
340 inst-time:      $(ETCDIR)/scan.time
341
342 $(ETCDIR)/scan.time:    scan.time
343                 -$(REMOVE) $@@ zscan.time
344                 $(CP) scan.time $@@
345                 -@@chmod $(FILPROT) $@@
346                 -@@ls -l $@@
347                 -@@echo ""
348
349
350 inst-timely:    $(ETCDIR)/scan.timely
351
352 $(ETCDIR)/scan.timely:  scan.timely
353                 -$(REMOVE) $@@ zscan.timely
354                 $(CP) scan.timely $@@
355                 -@@chmod $(FILPROT) $@@
356                 -@@ls -l $@@
357                 -@@echo ""
358
359
360 inst-packmbox:  $(ETCDIR)/packmbox
361
362 $(ETCDIR)/packmbox:     packmbox.sh
363                 -$(REMOVE) $@@ zpackmbox.sh
364                 cp packmbox.sh $@@
365                 -@@chmod $(PGMPROT) $@@
366                 -@@ls -l $@@
367                 -@@echo ""
368
369
370 inst-bboards:   $(ETCDIR)/BBoardAliases
371
372 $(ETCDIR)/BBoardAliases:        BBoardAliases
373                 -@@if [ ! -f $@@ ]; then \
374                     $(REMOVE) $@@ zBBoardAliases; \
375                     $(CP) BBoardAliases $@@; \
376                 else \
377                     echo "Will not overwrite existing $@@"; \
378                 fi
379                 -@@chmod $(FILPROT) $@@
380                 -chown $(BBUID) $@@
381                 -@@ls -l $@@
382                 -@@echo ""
383
384
385 inst-viamail:   $(ETCDIR)/viamail
386
387 $(ETCDIR)/viamail:      viamail.sh
388                 -$(REMOVE) $@@ zviamail.sh
389                 cp viamail.sh $@@
390                 -@@chmod $(PGMPROT) $@@
391                 -@@ls -l $@@
392                 -@@echo ""
393
394
395 inst-mhndefs:   $(ETCDIR)/mhn_defaults
396
397 $(ETCDIR)/mhn_defaults: true
398                 -@@if [ ! -f $@@ ]; then \
399                     ./bootmhn.sh $(ETCDIR); \
400                 else \
401                     echo "Will not overwrite existing $@@"; \
402                 fi
403                 -@@chmod $(FILPROT) $@@
404                 -@@ls -l $@@
405                 -@@echo ""
406
407
408 inst-pgpmime:   $(ETCDIR)/pgped.tcl $(BINDIR)/pgped $(BINDIR)/pgpshow
409
410 $(ETCDIR)/pgped.tcl:    pgped.tcl
411                 -$(REMOVE) $@@ zpgped.tcl
412                 cp pgped.tcl $@@
413                 -@@chmod $(FILPROT) $@@
414                 -@@ls -l $@@
415                 -@@echo ""
416
417 $(BINDIR)/pgped:        pgped.sh
418                 -$(REMOVE) $@@ zpgped.sh
419                 sed -e 's%@@LIB%$(ETCDIR)%' < pgped.sh > $@@
420                 -@@chmod $(PGMPROT) $@@
421                 -@@ls -l $@@
422                 -@@echo ""
423
424 $(BINDIR)/pgpshow:      pgpshow.sh
425                 -$(REMOVE) $@@ zpgpshow.sh
426                 cp pgpshow.sh $@@
427                 -@@chmod $(PGMPROT) $@@
428                 -@@ls -l $@@
429                 -@@echo ""
430
431
432 ##############################################################################
433 #       Miscellaneous tasks
434 ##############################################################################
435
436 unconfig:       distribution
437                 -rm -f Makefile
438
439 distribution:   clean
440                 -rm -f MailAliases
441
442 clean:          unclean
443                 -rm -f x*
444
445 unclean:;       -rm -f z* _* :* core MAKEGEN
446
447 true:;
448 @
449
450
451 1.19
452 log
453 @fixup from mtr
454 @
455 text
456 @d5 1
457 a5 1
458 # @@(#)$Id: general,v 1.18 1992/10/28 18:56:06 jromine Exp jromine $
459 d18 1
460 a18 1
461 IOPTMIME=       inst-mhndefs inst-viamail
462 d287 24
463 @
464
465
466 1.18
467 log
468 @fix inst-viamail
469 @
470 text
471 @d5 1
472 a5 1
473 # @@(#)$Id: general,v 1.17 1992/10/26 16:38:00 jromine Exp jromine $
474 d281 1
475 a281 1
476                 -if [ ! -f $@@ ]; then \
477 @
478
479
480 1.17
481 log
482 @fixes for MIME install from MTR
483 @
484 text
485 @d5 1
486 a5 1
487 # @@(#)$Id: general,v 1.16 1992/10/16 21:36:34 jromine Exp jromine $
488 d18 1
489 a18 1
490 IOPTMIME=       inst-mhndefs viamail
491 d48 1
492 a48 1
493                 inst-default inst-size inst-time inst-timely inst-viamail \
494 @
495
496
497 1.16
498 log
499 @include "true:" target
500 @
501 text
502 @d5 1
503 a5 1
504 # @@(#)$Id: general,v 1.15 1992/02/14 16:25:03 jromine Exp jromine $
505 d17 5
506 d30 1
507 a30 1
508                 scan.time scan.timely viamail packmbox $(TOPTMISC)
509 d49 1
510 a49 1
511                 inst-packmbox $(IOPTMISC)
512 d63 1
513 a63 1
514                     $(UOPTMISC)
515 a242 10
516 inst-viamail:   $(ETCDIR)/viamail
517
518 $(ETCDIR)/viamail:      viamail.sh
519                 -$(REMOVE) $@@ zviamail.sh
520                 cp viamail.sh $@@
521                 -@@chmod $(PGMPROT) $@@
522                 -@@ls -l $@@
523                 -@@echo ""
524
525
526 d264 23
527 @
528
529
530 1.15
531 log
532 @add packmbox
533 @
534 text
535 @d5 1
536 a5 1
537 # @@(#)$Id: general,v 1.14 1992/02/09 21:29:00 jromine Exp jromine $
538 d287 2
539 @
540
541
542 1.14
543 log
544 @add scan.default - duplicate of standard scan format string
545 @
546 text
547 @d5 1
548 a5 1
549 # @@(#)$Id: general,v 1.13 1992/01/31 22:48:43 jromine Exp jromine $
550 d25 1
551 a25 1
552                 scan.time scan.timely viamail $(TOPTMISC)
553 d44 1
554 a44 1
555                 $(IOPTMISC)
556 d57 1
557 a57 1
558                     scan.time scan.timely viamail \
559 d243 10
560 @
561
562
563 1.13
564 log
565 @add CP
566 @
567 text
568 @d5 1
569 a5 1
570 # @@(#)$Id: general,v 1.12 1992/01/31 21:37:07 jromine Exp jromine $
571 d24 2
572 a25 2
573                 mhl.body mhl.headers scan.mailx scan.size scan.time \
574                 scan.timely viamail $(TOPTMISC)
575 d43 2
576 a44 1
577                 inst-size inst-time inst-timely inst-viamail $(IOPTMISC)
578 d56 2
579 a57 2
580                     mhl.body mhl.headers scan.mailx scan.size scan.time \
581                     scan.timely viamail \
582 d188 9
583 @
584
585
586 1.12
587 log
588 @kerberos
589 @
590 text
591 @d5 1
592 a5 1
593 # @@(#)$Id: general,v 1.11 1992/01/31 16:38:59 jromine Exp jromine $
594 d20 1
595 a20 1
596 CP      =       cp -p
597 @
598
599
600 1.11
601 log
602 @Multimedia MH
603 @
604 text
605 @d5 1
606 a5 1
607 # @@(#)$Id: general,v 1.10 90/04/05 15:16:25 sources Exp $
608 d20 1
609 d69 1
610 a69 1
611                     cp MailAliases $@@; \
612 d82 1
613 a82 1
614                 cp components $@@
615 d92 1
616 a92 1
617                 cp digestcomps $@@
618 d102 1
619 a102 1
620                 cp distcomps $@@
621 d112 1
622 a112 1
623                 cp forwcomps $@@
624 d122 1
625 a122 1
626                 cp rcvdistcomps $@@
627 d132 1
628 a132 1
629                 cp replcomps $@@
630 d142 1
631 a142 1
632                 cp mhl.digest $@@
633 d152 1
634 a152 1
635                 cp mhl.format $@@
636 d162 1
637 a162 1
638                 cp mhl.forward $@@
639 d172 1
640 a172 1
641                 cp mhl.body $@@
642 d192 1
643 a192 1
644                 cp scan.mailx $@@
645 d202 1
646 a202 1
647                 cp scan.size $@@
648 d212 1
649 a212 1
650                 cp scan.time $@@
651 d222 1
652 a222 1
653                 cp scan.timely $@@
654 d243 1
655 a243 1
656                     cp BBoardAliases $@@; \
657 @
658
659
660 1.10
661 log
662 @add ID
663 @
664 text
665 @d5 1
666 a5 1
667 # @@(#)$Id:$
668 d19 1
669 d23 2
670 a24 1
671                 mhl.body scan.mailx scan.size scan.time scan.timely $(TOPTMISC)
672 d41 2
673 a42 2
674                 inst-format inst-forward inst-body inst-mailx inst-size \
675                 inst-time inst-timely $(IOPTMISC)
676 d54 2
677 a55 1
678                     mhl.body scan.mailx scan.size scan.time scan.timely \
679 d177 10
680 d223 10
681 @
682
683
684 1.9
685 log
686 @silence some stuff
687 @
688 text
689 @d5 1
690 @
691
692
693 1.8
694 log
695 @fix for "bbhome: none"
696 @
697 text
698 @d62 1
699 a62 1
700                 -if [ ! -f $@@ ]; then \
701 d216 1
702 a216 1
703                 -if [ ! -f $@@ ]; then \
704 @
705
706
707 1.7
708 log
709 @fixup
710 @
711 text
712 @d10 1
713 a10 1
714 @@BEGIN: BBOARDS
715 d15 1
716 a15 1
717 @@END: BBOARDS
718 @
719
720
721 1.6
722 log
723 @fixup
724 @
725 text
726 @d62 6
727 a67 2
728                 -cp $@@ zMailAliases
729                 test -f $@@ || cp MailAliases $@@
730 @
731
732
733 1.5
734 log
735 @fix
736 @
737 text
738 @d212 6
739 a217 2
740                 -cp $@@ zBBoardAliases
741                 test -f $@@ || cp BBoardAliases $@@
742 @
743
744
745 1.4
746 log
747 @don't overinstall alias files
748 @
749 text
750 @d62 1
751 a62 1
752                 -$(REMOVE) $@@ zMailAliases
753 d212 1
754 a212 1
755                 -$(REMOVE) $@@ zBBoardAliases
756 @
757
758
759 1.3
760 log
761 @add explicit chmod for installed files
762 @
763 text
764 @d63 1
765 a63 1
766                 cp MailAliases $@@
767 d213 1
768 a213 1
769                 cp BBoardAliases $@@
770 @
771
772
773 1.2
774 log
775 @make unconfig changes
776 @
777 text
778 @d17 1
779 d64 1
780 d74 1
781 d84 1
782 d94 1
783 d104 1
784 d114 1
785 d124 1
786 d134 1
787 d144 1
788 d154 1
789 d164 1
790 d174 1
791 d184 1
792 d194 1
793 d204 1
794 d214 1
795 @
796
797
798 1.1
799 log
800 @Initial revision
801 @
802 text
803 @d207 3
804 @