aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-01-22 08:18:37 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-01-22 08:18:37 +0000
commitbbe8270c506bedc8c49b1256e1d6cbe751d305fc (patch)
tree946dc1c73e1f74680fc7804fd296390a0ca47df2 /etc
parent5cfe0423e65c346d83d1f90d5e3fd6b1cb2e310c (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile
index c1d932556ce0..948d90de1924 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -56,7 +56,13 @@ ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
# Special top level files for FreeBSD
FREEBSD=COPYRIGHT
+afterinstall:
+.if !defined(NOMAN)
+ cd ${.CURDIR}/../share/man; ${MAKE} makedb
+.endif
+
distribute:
+ cd ${.CURDIR} ; ${MAKE} install DESTDIR=${DISTDIR}/${DISTRIBUTION}
cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
@@ -156,9 +162,6 @@ distribution:
${DESTDIR}/var/crash
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
${FREEBSD} ${DESTDIR}/
-.if !defined(NOMAN)
- cd ${.CURDIR}/../share/man; ${MAKE} makedb
-.endif
distrib-dirs:
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/