summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-22 08:18:37 +0000
committerru <ru@FreeBSD.org>2004-01-22 08:18:37 +0000
commit69fd34608d7f8232c0209cb1f07f7f773ab587cc (patch)
tree946dc1c73e1f74680fc7804fd296390a0ca47df2
parent2dafdd4f00f15fa15ca85cd71c1f3c02f97f0e86 (diff)
downloadFreeBSD-src-69fd34608d7f8232c0209cb1f07f7f773ab587cc.zip
FreeBSD-src-69fd34608d7f8232c0209cb1f07f7f773ab587cc.tar.gz
- Run makewhatis(1) in etc/Makefile at the end of "install".
- Removed redundant and undocumented NO_MAKEDB_RUN knob.
-rw-r--r--Makefile.inc19
-rw-r--r--etc/Makefile9
-rw-r--r--release/Makefile2
3 files changed, 8 insertions, 12 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3a80f27..64412aa 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -93,7 +93,7 @@ SUBDIR+= usr.bin
SUBDIR+= usr.sbin
.endif
-# etc must be last for "distribute" to work
+# etc must be last for install/distribute to work
.if exists(${.CURDIR}/etc)
SUBDIR+= etc
.endif
@@ -432,13 +432,6 @@ reinstall:
@echo ">>> Installing everything.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install
-.if !defined(NOMAN) && !defined(NO_MAKEDB_RUN)
- @echo
- @echo "--------------------------------------------------------------"
- @echo ">>> Rebuilding man page indices"
- @echo "--------------------------------------------------------------"
- cd ${.CURDIR}/share/man; ${MAKE} makedb
-.endif
redistribute:
@echo "--------------------------------------------------------------"
diff --git a/etc/Makefile b/etc/Makefile
index c1d9325..948d90d 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}/
diff --git a/release/Makefile b/release/Makefile
index 0f0e4813..556820d 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -535,7 +535,7 @@ release.2:
release.3:
# Handle some grief caused by the munition braindeadness.
cd ${.CURDIR}/..; \
- ${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DNOCRYPT \
+ ${CROSSMAKE} ${WORLD_FLAGS} -DNOCRYPT \
SUBDIR_OVERRIDE="${FIXCRYPTO}" \
buildworld distributeworld DISTDIR=${RD}/trees
-chflags -R noschg ${RD}/trees
OpenPOWER on IntegriCloud