From 69fd34608d7f8232c0209cb1f07f7f773ab587cc Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 22 Jan 2004 08:18:37 +0000 Subject: - Run makewhatis(1) in etc/Makefile at the end of "install". - Removed redundant and undocumented NO_MAKEDB_RUN knob. --- etc/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'etc') 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}/ -- cgit v1.1