Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/Makefile,v retrieving revision 1.175 retrieving revision 1.175.2.1 diff -u -p -r1.175 -r1.175.2.1 --- src/Makefile 2002/05/07 02:11:07 1.175 +++ src/Makefile 2002/11/01 11:55:04 1.175.2.1 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.175 2002/05/07 02:11:07 lukem Exp $ +# $NetBSD: Makefile,v 1.175.2.1 2002/11/01 11:55:04 tron Exp $ # This is the top-level makefile for building NetBSD. For an outline of # how to build a snapshot or release, as well as other release engineering @@ -94,13 +94,16 @@ regression-tests: @(cd ${.CURDIR}/regress && ${MAKE} regress) .endif -afterinstall: postinstall-check +afterinstall: .if ${MKMAN} != "no" (cd ${.CURDIR}/share/man && ${MAKE} makedb) .endif .if defined(UNPRIVED) && (${MKINFO} != "no") (cd ${.CURDIR}/gnu/usr.bin/texinfo/install-info && ${MAKE} infodir-meta) .endif +.if !defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/" + (${MAKE} postinstall-check) +.endif postinstall-check: @echo " === Post installation checks ==="