diff options
Diffstat (limited to 'etc/sendmail')
-rw-r--r-- | etc/sendmail/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 1445076..7ac0cc9 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -42,7 +42,8 @@ ALL+= ${INSTALL_CF} # Additional .cf files to build .if defined(SENDMAIL_ADDITIONAL_MC) -ALL+= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} +SENDMAIL_ADDITIONAL_CF= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} +ALL+= ${SENDMAIL_ADDITIONAL_CF} .endif CLEANFILES+= ${ALL} @@ -61,6 +62,10 @@ install: ${INSTALL_CF} ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \ ${DEST_CF} .endif +.if defined(SENDMAIL_ADDITIONAL_CF) + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \ + ${SENDMAIL_ADDITIONAL_CF} ${DESTDIR}/etc/mail +.endif .endif # Helper for src/etc/Makefile |