1 ##############################################################################
2 # Instructions to Make, for general support processes
4 # This file is automatically generated. Do not edit!
5 # @(#)$Id: general,v 1.20 1995/12/06 20:57:55 jromine Exp $
6 ##############################################################################
8 # The following entries were inserted during MH configuration
9 BINDIR = $(DESTDIR)/opt/mh-6.8.5/bin
10 ETCDIR = $(DESTDIR)/opt/mh-6.8.5/lib
11 IOPTMIME= inst-mhndefs inst-viamail inst-pgpmime
12 UOPTMIME= mhn_defaults viamail
13 TOPTMIME= mhn_defaults viamail
19 TALL = MailAliases components digestcomps distcomps forwcomps \
20 rcvdistcomps replcomps mhl.digest mhl.format mhl.forward \
21 mhl.body mhl.headers scan.default scan.mailx scan.size \
22 scan.time scan.timely packmbox $(TOPTMISC) $(TOPTMIME)
25 ##############################################################################
26 # Generate miscellaneous stuff
27 ##############################################################################
35 install: inst-all clean
37 inst-all: inst-aliases inst-components inst-digestcomps inst-distcomps \
38 inst-forwcomps inst-rcvdistcomps inst-replcomps inst-digest \
39 inst-format inst-forward inst-body inst-headers inst-mailx \
40 inst-default inst-size inst-time inst-timely \
41 inst-packmbox $(IOPTMISC) $(IOPTMIME)
44 @make -n inst-all > MAKEGEN
46 tar $(TFLAGS) MAKEGEN $(TALL)
50 uninstall:; cd $(ETCDIR); \
51 rm -f MailAliases components digestcomps distcomps forwcomps \
52 rcvdistcomps replcomps mhl.digest mhl.format mhl.forward \
53 mhl.body mhl.headers scan.default scan.mailx scan.size \
54 scan.time scan.timely viamail packmbox \
55 $(UOPTMISC) $(UOPTMIME)
58 ##############################################################################
59 # Individual components
60 ##############################################################################
62 inst-aliases: $(ETCDIR)/MailAliases
64 $(ETCDIR)/MailAliases: MailAliases
65 -@if [ ! -f $@ ]; then \
66 $(REMOVE) $@ zMailAliases; \
67 $(CP) MailAliases $@; \
69 echo "Will not overwrite existing $@"; \
76 inst-components: $(ETCDIR)/components
78 $(ETCDIR)/components: components
79 -$(REMOVE) $@ zcomponents
86 inst-digestcomps: $(ETCDIR)/digestcomps
88 $(ETCDIR)/digestcomps: digestcomps
89 -$(REMOVE) $@ zdigestcomps
96 inst-distcomps: $(ETCDIR)/distcomps
98 $(ETCDIR)/distcomps: distcomps
99 -$(REMOVE) $@ zdistcomps
101 -@chmod $(FILPROT) $@
106 inst-forwcomps: $(ETCDIR)/forwcomps
108 $(ETCDIR)/forwcomps: forwcomps
109 -$(REMOVE) $@ zforwcomps
111 -@chmod $(FILPROT) $@
116 inst-rcvdistcomps: $(ETCDIR)/rcvdistcomps
118 $(ETCDIR)/rcvdistcomps: rcvdistcomps
119 -$(REMOVE) $@ zrcvdistcomps
120 $(CP) rcvdistcomps $@
121 -@chmod $(FILPROT) $@
126 inst-replcomps: $(ETCDIR)/replcomps
128 $(ETCDIR)/replcomps: replcomps
129 -$(REMOVE) $@ zreplcomps
131 -@chmod $(FILPROT) $@
136 inst-digest: $(ETCDIR)/mhl.digest
138 $(ETCDIR)/mhl.digest: mhl.digest
139 -$(REMOVE) $@ zmhl.digest
141 -@chmod $(FILPROT) $@
146 inst-format: $(ETCDIR)/mhl.format
148 $(ETCDIR)/mhl.format: mhl.format
149 -$(REMOVE) $@ zmhl.format
151 -@chmod $(FILPROT) $@
156 inst-forward: $(ETCDIR)/mhl.forward
158 $(ETCDIR)/mhl.forward: mhl.forward
159 -$(REMOVE) $@ zmhl.forward
161 -@chmod $(FILPROT) $@
166 inst-body: $(ETCDIR)/mhl.body
168 $(ETCDIR)/mhl.body: mhl.body
169 -$(REMOVE) $@ zmhl.body
171 -@chmod $(FILPROT) $@
176 inst-headers: $(ETCDIR)/mhl.headers
178 $(ETCDIR)/mhl.headers: mhl.headers
179 -$(REMOVE) $@ zmhl.headers
181 -@chmod $(FILPROT) $@
186 inst-default: $(ETCDIR)/scan.default
188 $(ETCDIR)/scan.default: scan.default
189 -$(REMOVE) $@ zscan.default
190 $(CP) scan.default $@
191 -@chmod $(FILPROT) $@
195 inst-mailx: $(ETCDIR)/scan.mailx
197 $(ETCDIR)/scan.mailx: scan.mailx
198 -$(REMOVE) $@ zscan.mailx
200 -@chmod $(FILPROT) $@
205 inst-size: $(ETCDIR)/scan.size
207 $(ETCDIR)/scan.size: scan.size
208 -$(REMOVE) $@ zscan.size
210 -@chmod $(FILPROT) $@
215 inst-time: $(ETCDIR)/scan.time
217 $(ETCDIR)/scan.time: scan.time
218 -$(REMOVE) $@ zscan.time
220 -@chmod $(FILPROT) $@
225 inst-timely: $(ETCDIR)/scan.timely
227 $(ETCDIR)/scan.timely: scan.timely
228 -$(REMOVE) $@ zscan.timely
230 -@chmod $(FILPROT) $@
235 inst-packmbox: $(ETCDIR)/packmbox
237 $(ETCDIR)/packmbox: packmbox.sh
238 -$(REMOVE) $@ zpackmbox.sh
240 -@chmod $(PGMPROT) $@
245 inst-bboards: $(ETCDIR)/BBoardAliases
247 $(ETCDIR)/BBoardAliases: BBoardAliases
248 -@if [ ! -f $@ ]; then \
249 $(REMOVE) $@ zBBoardAliases; \
250 $(CP) BBoardAliases $@; \
252 echo "Will not overwrite existing $@"; \
254 -@chmod $(FILPROT) $@
260 inst-viamail: $(ETCDIR)/viamail
262 $(ETCDIR)/viamail: viamail.sh
263 -$(REMOVE) $@ zviamail.sh
265 -@chmod $(PGMPROT) $@
270 inst-mhndefs: $(ETCDIR)/mhn_defaults
272 $(ETCDIR)/mhn_defaults: true
273 -@if [ ! -f $@ ]; then \
274 ./bootmhn.sh $(ETCDIR); \
276 echo "Will not overwrite existing $@"; \
278 -@chmod $(FILPROT) $@
283 inst-pgpmime: $(ETCDIR)/pgped.tcl $(BINDIR)/pgped $(BINDIR)/pgpshow
285 $(ETCDIR)/pgped.tcl: pgped.tcl
286 -$(REMOVE) $@ zpgped.tcl
288 -@chmod $(FILPROT) $@
292 $(BINDIR)/pgped: pgped.sh
293 -$(REMOVE) $@ zpgped.sh
294 sed -e 's%@LIB%$(ETCDIR)%' < pgped.sh > $@
295 -@chmod $(PGMPROT) $@
299 $(BINDIR)/pgpshow: pgpshow.sh
300 -$(REMOVE) $@ zpgpshow.sh
302 -@chmod $(PGMPROT) $@
307 ##############################################################################
308 # Miscellaneous tasks
309 ##############################################################################
311 unconfig: distribution
320 unclean:; -rm -f z* _* :* core MAKEGEN