Makefile (97200) | Makefile (100313) |
---|---|
1# | 1# |
2# $FreeBSD: head/etc/mail/Makefile 97200 2002-05-24 01:46:39Z gshapiro $ | 2# $FreeBSD: head/etc/mail/Makefile 100313 2002-07-18 12:07:49Z ru $ |
3# 4# This Makefile provides an easy way to generate the configuration 5# file and database maps for the sendmail(8) daemon. 6# 7# The user-driven targets are: 8# 9# all - Build cf, maps and aliases 10# cf - Build the .cf file from .mc file --- 171 unchanged lines hidden (view full) --- 182.ifdef SENDMAIL_SET_USER_ID 183install: install-cf 184.else 185install: install-cf install-submit-cf 186.endif 187 188install-cf: ${INSTALL_CF} 189.if ${INSTALL_CF} != /etc/mail/sendmail.cf | 3# 4# This Makefile provides an easy way to generate the configuration 5# file and database maps for the sendmail(8) daemon. 6# 7# The user-driven targets are: 8# 9# all - Build cf, maps and aliases 10# cf - Build the .cf file from .mc file --- 171 unchanged lines hidden (view full) --- 182.ifdef SENDMAIL_SET_USER_ID 183install: install-cf 184.else 185install: install-cf install-submit-cf 186.endif 187 188install-cf: ${INSTALL_CF} 189.if ${INSTALL_CF} != /etc/mail/sendmail.cf |
190 ${INSTALL} -c -m ${SHAREMODE} ${INSTALL_CF} /etc/mail/sendmail.cf | 190 ${INSTALL} ${COPY} -m ${SHAREMODE} ${INSTALL_CF} /etc/mail/sendmail.cf |
191.endif 192 193 194install-submit-cf: ${INSTALL_SUBMIT_CF} 195.ifdef SENDMAIL_SET_USER_ID 196 @echo ">>> ERROR: You should not create a submit.cf file if you are using a" 197 @echo " set-user-ID sendmail binary (SENDMAIL_SET_USER_ID is set" 198 @echo " in make.conf)." 199 @false 200.else 201.if ${INSTALL_SUBMIT_CF} != /etc/mail/submit.cf | 191.endif 192 193 194install-submit-cf: ${INSTALL_SUBMIT_CF} 195.ifdef SENDMAIL_SET_USER_ID 196 @echo ">>> ERROR: You should not create a submit.cf file if you are using a" 197 @echo " set-user-ID sendmail binary (SENDMAIL_SET_USER_ID is set" 198 @echo " in make.conf)." 199 @false 200.else 201.if ${INSTALL_SUBMIT_CF} != /etc/mail/submit.cf |
202 ${INSTALL} -c -m ${SHAREMODE} ${INSTALL_SUBMIT_CF} /etc/mail/submit.cf | 202 ${INSTALL} ${COPY} -m ${SHAREMODE} ${INSTALL_SUBMIT_CF} /etc/mail/submit.cf |
203.endif 204.endif 205 206aliases: ${SENDMAIL_ALIASES}.db 207 208maps: ${SENDMAIL_MAP_OBJ} 209 210start start-mta start-mspq: --- 27 unchanged lines hidden --- | 203.endif 204.endif 205 206aliases: ${SENDMAIL_ALIASES}.db 207 208maps: ${SENDMAIL_MAP_OBJ} 209 210start start-mta start-mspq: --- 27 unchanged lines hidden --- |