Deleted Added
full compact
Makefile (80796) Makefile (86639)
1# @(#)Makefile 8.19 (Berkeley) 1/14/97
1# @(#)Makefile 8.19 (Berkeley) 1/14/97
2# $FreeBSD: head/etc/sendmail/Makefile 80796 2001-08-01 02:12:39Z gshapiro $
2# $FreeBSD: head/etc/sendmail/Makefile 86639 2001-11-20 03:41:05Z gshapiro $
3
4M4= m4
5CHMOD= chmod
6ROMODE= 444
7RM= rm -f
8
9SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
10SMDIR= ${SENDMAIL_DIR}/src

--- 26 unchanged lines hidden (view full) ---

37.endif
38
39DEST_CF= ${DESTDIR}/etc/mail/sendmail.cf
40
41ALL+= ${INSTALL_CF}
42
43# Additional .cf files to build
44.if defined(SENDMAIL_ADDITIONAL_MC)
3
4M4= m4
5CHMOD= chmod
6ROMODE= 444
7RM= rm -f
8
9SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
10SMDIR= ${SENDMAIL_DIR}/src

--- 26 unchanged lines hidden (view full) ---

37.endif
38
39DEST_CF= ${DESTDIR}/etc/mail/sendmail.cf
40
41ALL+= ${INSTALL_CF}
42
43# Additional .cf files to build
44.if defined(SENDMAIL_ADDITIONAL_MC)
45ALL+= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g}
45SENDMAIL_ADDITIONAL_CF= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g}
46ALL+= ${SENDMAIL_ADDITIONAL_CF}
46.endif
47
48CLEANFILES+= ${ALL}
49
50all: ${ALL}
51
52depend:
53
54install: ${INSTALL_CF}
55.if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF))
56 @echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
57 @false
58.endif
59.if defined(INSTALL_CF)
60.if ${INSTALL_CF} != ${DEST_CF}
61 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
62 ${DEST_CF}
63.endif
47.endif
48
49CLEANFILES+= ${ALL}
50
51all: ${ALL}
52
53depend:
54
55install: ${INSTALL_CF}
56.if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF))
57 @echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
58 @false
59.endif
60.if defined(INSTALL_CF)
61.if ${INSTALL_CF} != ${DEST_CF}
62 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
63 ${DEST_CF}
64.endif
65.if defined(SENDMAIL_ADDITIONAL_CF)
66 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
67 ${SENDMAIL_ADDITIONAL_CF} ${DESTDIR}/etc/mail
64.endif
68.endif
69.endif
65
66# Helper for src/etc/Makefile
67distribution: freebsd.cf freebsd.mc ${INSTALL_CF}
68.if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF))
69 @echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
70 @false
71.endif
72 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/freebsd.mc \

--- 18 unchanged lines hidden ---
70
71# Helper for src/etc/Makefile
72distribution: freebsd.cf freebsd.mc ${INSTALL_CF}
73.if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF))
74 @echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
75 @false
76.endif
77 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/freebsd.mc \

--- 18 unchanged lines hidden ---