Print this page
5166 sendmail package should be replaceable
@@ -31,24 +31,26 @@
SRCS= aliases helpfile local-host-names trusted-users
ROOTMANIFESTDIR= $(ROOTSVCNETWORK)
ROOTETCMAIL = $(ROOTETC)/mail
-ROOTETCMAILF = $(ROOTETCMAIL)/aliases $(ROOTETCMAIL)/helpfile \
+ROOTETCF = $(ROOTETC)/aliases
+ROOTETCMAILF = $(ROOTETCMAIL)/helpfile \
$(ROOTETCMAIL)/local-host-names \
$(ROOTETCMAIL)/trusted-users
-ROOTETCSYMLINKS = $(ROOTETC)/aliases
-ROOTETCMAILSYMLINKS = $(ROOTETCMAIL)/sendmail.hf
+ROOTETCMAILSYMLINKS = $(ROOTETCMAIL)/aliases \
+ $(ROOTETCMAIL)/sendmail.hf
# conditional assignments
$(ROOTETCMAILF) := FILEMODE = 644
+$(ROOTETCF) := FILEMODE = 644
.KEEP_STATE:
all: $(SRCS)
-install: all $(ROOTETCMAILF) $(ROOTETCSYMLINKS) \
+install: all $(ROOTETCF) $(ROOTETCMAILF) $(ROOTETCSYMLINKS) \
$(ROOTETCMAILSYMLINKS) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(CHKMANIFEST)
clean:
@@ -58,12 +60,12 @@
lint:
$(ROOTETCMAIL)/%: %
$(INS.file)
-$(ROOTETCSYMLINKS):
- $(RM) $@; $(SYMLINK) mail/aliases $@
+$(ROOTETCMAIL)/aliases:
+ $(RM) $@; $(SYMLINK) ../aliases $@
-$(ROOTETCMAILSYMLINKS):
+$(ROOTETCMAIL)/sendmail.hf:
$(RM) $@; $(SYMLINK) helpfile $@
include ../../Makefile.targ