summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile4
-rw-r--r--libexec/dma/dmagent/Makefile2
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index e01b2a4..43e6f60 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -309,6 +309,10 @@ distribution:
cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
${PPPCNF} ${DESTDIR}/etc/ppp
.endif
+.if ${MK_DMAGENT} != "no"
+ cd ${.CURDIR}/../libexec/dma/dmagent; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
+ dma.conf ${DESTDIR}/etc/dma
+.endif
.if ${MK_MAIL} != "no"
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${ETCMAIL} ${DESTDIR}/etc/mail
diff --git a/libexec/dma/dmagent/Makefile b/libexec/dma/dmagent/Makefile
index 1875177..6baa902 100644
--- a/libexec/dma/dmagent/Makefile
+++ b/libexec/dma/dmagent/Makefile
@@ -18,8 +18,6 @@ SRCS= aliases_parse.y \
spool.c \
util.c
MAN8= dma.8
-CONFS= dma.conf
-CONFSDIR= ${CONFDIR}/dma
YFLAGS+= -i
CLEANFILES= aliases_parse.i
FILES= mailer.conf
OpenPOWER on IntegriCloud