9 date 95.12.06.20.57.55; author jromine; state Exp;
14 date 93.08.20.15.56.25; author jromine; state Exp;
19 date 92.10.28.18.56.06; author jromine; state Exp;
24 date 92.10.26.16.38.00; author jromine; state Exp;
29 date 92.10.16.21.36.34; author jromine; state Exp;
34 date 92.02.14.16.25.03; author jromine; state Exp;
39 date 92.02.09.21.29.00; author jromine; state Exp;
44 date 92.01.31.22.48.43; author jromine; state Exp;
49 date 92.01.31.21.37.07; author jromine; state Exp;
54 date 92.01.31.16.38.59; author jromine; state Exp;
59 date 90.04.05.15.16.25; author sources; state Exp;
64 date 90.03.28.11.17.40; author sources; state Exp;
69 date 90.03.21.09.57.11; author sources; state Exp;
74 date 90.03.20.20.33.18; author sources; state Exp;
79 date 90.03.20.20.30.34; author sources; state Exp;
84 date 90.03.15.21.13.57; author sources; state Exp;
89 date 90.03.15.21.05.13; author sources; state Exp;
94 date 90.03.15.16.48.07; author sources; state Exp;
99 date 90.02.21.16.56.14; author sources; state Exp;
104 date 90.02.06.12.54.15; author sources; state Exp;
115 @pgp changes from mtr
118 @##############################################################################
119 # Instructions to Make, for general support processes
122 # @@(#)$Id: general,v 1.19 1993/08/20 15:56:25 jromine Exp jromine $
123 ##############################################################################
125 # The following entries were inserted during MH configuration
126 BINDIR = $(DESTDIR)@@(MHBINPATH)
127 ETCDIR = $(DESTDIR)@@(MHETCPATH)
130 IOPTMISC= inst-bboards
131 UOPTMISC= BBoardAliases
132 TOPTMISC= BBoardAliases
135 IOPTMIME= inst-mhndefs inst-viamail inst-pgpmime
136 UOPTMIME= mhn_defaults viamail
137 TOPTMIME= mhn_defaults viamail
139 REMOVE = @@(MHREMOVE)
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)
150 ##############################################################################
151 # Generate miscellaneous stuff
152 ##############################################################################
160 install: inst-all clean
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)
168 tar:; @@touch $(TALL)
169 @@make -n inst-all > MAKEGEN
171 tar $(TFLAGS) MAKEGEN $(TALL)
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)
183 ##############################################################################
184 # Individual components
185 ##############################################################################
187 inst-aliases: $(ETCDIR)/MailAliases
189 $(ETCDIR)/MailAliases: MailAliases
190 -@@if [ ! -f $@@ ]; then \
191 $(REMOVE) $@@ zMailAliases; \
192 $(CP) MailAliases $@@; \
194 echo "Will not overwrite existing $@@"; \
196 -@@chmod $(FILPROT) $@@
201 inst-components: $(ETCDIR)/components
203 $(ETCDIR)/components: components
204 -$(REMOVE) $@@ zcomponents
206 -@@chmod $(FILPROT) $@@
211 inst-digestcomps: $(ETCDIR)/digestcomps
213 $(ETCDIR)/digestcomps: digestcomps
214 -$(REMOVE) $@@ zdigestcomps
215 $(CP) digestcomps $@@
216 -@@chmod $(FILPROT) $@@
221 inst-distcomps: $(ETCDIR)/distcomps
223 $(ETCDIR)/distcomps: distcomps
224 -$(REMOVE) $@@ zdistcomps
226 -@@chmod $(FILPROT) $@@
231 inst-forwcomps: $(ETCDIR)/forwcomps
233 $(ETCDIR)/forwcomps: forwcomps
234 -$(REMOVE) $@@ zforwcomps
236 -@@chmod $(FILPROT) $@@
241 inst-rcvdistcomps: $(ETCDIR)/rcvdistcomps
243 $(ETCDIR)/rcvdistcomps: rcvdistcomps
244 -$(REMOVE) $@@ zrcvdistcomps
245 $(CP) rcvdistcomps $@@
246 -@@chmod $(FILPROT) $@@
251 inst-replcomps: $(ETCDIR)/replcomps
253 $(ETCDIR)/replcomps: replcomps
254 -$(REMOVE) $@@ zreplcomps
256 -@@chmod $(FILPROT) $@@
261 inst-digest: $(ETCDIR)/mhl.digest
263 $(ETCDIR)/mhl.digest: mhl.digest
264 -$(REMOVE) $@@ zmhl.digest
266 -@@chmod $(FILPROT) $@@
271 inst-format: $(ETCDIR)/mhl.format
273 $(ETCDIR)/mhl.format: mhl.format
274 -$(REMOVE) $@@ zmhl.format
276 -@@chmod $(FILPROT) $@@
281 inst-forward: $(ETCDIR)/mhl.forward
283 $(ETCDIR)/mhl.forward: mhl.forward
284 -$(REMOVE) $@@ zmhl.forward
285 $(CP) mhl.forward $@@
286 -@@chmod $(FILPROT) $@@
291 inst-body: $(ETCDIR)/mhl.body
293 $(ETCDIR)/mhl.body: mhl.body
294 -$(REMOVE) $@@ zmhl.body
296 -@@chmod $(FILPROT) $@@
301 inst-headers: $(ETCDIR)/mhl.headers
303 $(ETCDIR)/mhl.headers: mhl.headers
304 -$(REMOVE) $@@ zmhl.headers
306 -@@chmod $(FILPROT) $@@
311 inst-default: $(ETCDIR)/scan.default
313 $(ETCDIR)/scan.default: scan.default
314 -$(REMOVE) $@@ zscan.default
315 $(CP) scan.default $@@
316 -@@chmod $(FILPROT) $@@
320 inst-mailx: $(ETCDIR)/scan.mailx
322 $(ETCDIR)/scan.mailx: scan.mailx
323 -$(REMOVE) $@@ zscan.mailx
325 -@@chmod $(FILPROT) $@@
330 inst-size: $(ETCDIR)/scan.size
332 $(ETCDIR)/scan.size: scan.size
333 -$(REMOVE) $@@ zscan.size
335 -@@chmod $(FILPROT) $@@
340 inst-time: $(ETCDIR)/scan.time
342 $(ETCDIR)/scan.time: scan.time
343 -$(REMOVE) $@@ zscan.time
345 -@@chmod $(FILPROT) $@@
350 inst-timely: $(ETCDIR)/scan.timely
352 $(ETCDIR)/scan.timely: scan.timely
353 -$(REMOVE) $@@ zscan.timely
354 $(CP) scan.timely $@@
355 -@@chmod $(FILPROT) $@@
360 inst-packmbox: $(ETCDIR)/packmbox
362 $(ETCDIR)/packmbox: packmbox.sh
363 -$(REMOVE) $@@ zpackmbox.sh
365 -@@chmod $(PGMPROT) $@@
370 inst-bboards: $(ETCDIR)/BBoardAliases
372 $(ETCDIR)/BBoardAliases: BBoardAliases
373 -@@if [ ! -f $@@ ]; then \
374 $(REMOVE) $@@ zBBoardAliases; \
375 $(CP) BBoardAliases $@@; \
377 echo "Will not overwrite existing $@@"; \
379 -@@chmod $(FILPROT) $@@
385 inst-viamail: $(ETCDIR)/viamail
387 $(ETCDIR)/viamail: viamail.sh
388 -$(REMOVE) $@@ zviamail.sh
390 -@@chmod $(PGMPROT) $@@
395 inst-mhndefs: $(ETCDIR)/mhn_defaults
397 $(ETCDIR)/mhn_defaults: true
398 -@@if [ ! -f $@@ ]; then \
399 ./bootmhn.sh $(ETCDIR); \
401 echo "Will not overwrite existing $@@"; \
403 -@@chmod $(FILPROT) $@@
408 inst-pgpmime: $(ETCDIR)/pgped.tcl $(BINDIR)/pgped $(BINDIR)/pgpshow
410 $(ETCDIR)/pgped.tcl: pgped.tcl
411 -$(REMOVE) $@@ zpgped.tcl
413 -@@chmod $(FILPROT) $@@
417 $(BINDIR)/pgped: pgped.sh
418 -$(REMOVE) $@@ zpgped.sh
419 sed -e 's%@@LIB%$(ETCDIR)%' < pgped.sh > $@@
420 -@@chmod $(PGMPROT) $@@
424 $(BINDIR)/pgpshow: pgpshow.sh
425 -$(REMOVE) $@@ zpgpshow.sh
427 -@@chmod $(PGMPROT) $@@
432 ##############################################################################
433 # Miscellaneous tasks
434 ##############################################################################
436 unconfig: distribution
445 unclean:; -rm -f z* _* :* core MAKEGEN
458 # @@(#)$Id: general,v 1.18 1992/10/28 18:56:06 jromine Exp jromine $
461 IOPTMIME= inst-mhndefs inst-viamail
473 # @@(#)$Id: general,v 1.17 1992/10/26 16:38:00 jromine Exp jromine $
476 -if [ ! -f $@@ ]; then \
482 @fixes for MIME install from MTR
487 # @@(#)$Id: general,v 1.16 1992/10/16 21:36:34 jromine Exp jromine $
490 IOPTMIME= inst-mhndefs viamail
493 inst-default inst-size inst-time inst-timely inst-viamail \
499 @include "true:" target
504 # @@(#)$Id: general,v 1.15 1992/02/14 16:25:03 jromine Exp jromine $
508 scan.time scan.timely viamail packmbox $(TOPTMISC)
511 inst-packmbox $(IOPTMISC)
516 inst-viamail: $(ETCDIR)/viamail
518 $(ETCDIR)/viamail: viamail.sh
519 -$(REMOVE) $@@ zviamail.sh
521 -@@chmod $(PGMPROT) $@@
537 # @@(#)$Id: general,v 1.14 1992/02/09 21:29:00 jromine Exp jromine $
544 @add scan.default - duplicate of standard scan format string
549 # @@(#)$Id: general,v 1.13 1992/01/31 22:48:43 jromine Exp jromine $
552 scan.time scan.timely viamail $(TOPTMISC)
558 scan.time scan.timely viamail \
570 # @@(#)$Id: general,v 1.12 1992/01/31 21:37:07 jromine Exp jromine $
573 mhl.body mhl.headers scan.mailx scan.size scan.time \
574 scan.timely viamail $(TOPTMISC)
577 inst-size inst-time inst-timely inst-viamail $(IOPTMISC)
580 mhl.body mhl.headers scan.mailx scan.size scan.time \
581 scan.timely viamail \
593 # @@(#)$Id: general,v 1.11 1992/01/31 16:38:59 jromine Exp jromine $
607 # @@(#)$Id: general,v 1.10 90/04/05 15:16:25 sources Exp $
611 cp MailAliases $@@; \
656 cp BBoardAliases $@@; \
671 mhl.body scan.mailx scan.size scan.time scan.timely $(TOPTMISC)
674 inst-format inst-forward inst-body inst-mailx inst-size \
675 inst-time inst-timely $(IOPTMISC)
678 mhl.body scan.mailx scan.size scan.time scan.timely \
695 @fix for "bbhome: none"
700 -if [ ! -f $@@ ]; then \
703 -if [ ! -f $@@ ]; then \
729 test -f $@@ || cp MailAliases $@@
740 -cp $@@ zBBoardAliases
741 test -f $@@ || cp BBoardAliases $@@
747 @don't overinstall alias files
752 -$(REMOVE) $@@ zMailAliases
755 -$(REMOVE) $@@ zBBoardAliases
761 @add explicit chmod for installed files
775 @make unconfig changes