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 rcsdiff: /ftp/cvs/cvsroot/src/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.164 retrieving revision 1.171 diff -u -p -r1.164 -r1.171 --- src/Makefile 2002/03/01 06:02:41 1.164 +++ src/Makefile 2002/04/29 12:14:36 1.171 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.164 2002/03/01 06:02:41 jmc Exp $ +# $NetBSD: Makefile,v 1.171 2002/04/29 12:14:36 lukem 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 @@ -88,8 +88,8 @@ _SRC_TOP_OBJ_= #_J= -j${NBUILDJOBS} .endif -_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin \ - usr.sbin share sys etc distrib regress +_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin +_SUBDIR+= usr.sbin share sys etc distrib regress # Weed out directories that don't exist. @@ -105,19 +105,24 @@ regression-tests: @(cd ${.CURDIR}/regress && ${MAKE} regress) .endif -whatis.db: +afterinstall: postinstall-check .if ${MKMAN} != "no" (cd ${.CURDIR}/share/man && ${MAKE} makedb) .endif - -# Let install-info track this as it's the program creating/updating the -# dir file -infodir-meta: .if defined(UNPRIVED) && (${MKINFO} != "no") (cd ${.CURDIR}/gnu/usr.bin/texinfo/install-info && ${MAKE} infodir-meta) .endif -afterinstall: whatis.db infodir-meta +postinstall-check: + @echo " === Post installation checks ===" + sh ${.CURDIR}/etc/postinstall -s ${.CURDIR}/etc -d ${DESTDIR}/etc check + @echo " ================================" + +postinstall-fix: .NOTMAIN + @echo " === Post installation fixes ===" + sh ${.CURDIR}/etc/postinstall -s ${.CURDIR}/etc -d ${DESTDIR}/etc fix + @echo " ================================" + # Targets (in order!) called by "make build".