Module Name: src Committed By: apb Date: Mon Jun 16 09:06:26 UTC 2014
Modified Files: src: Makefile Log Message: Run "postinstall fix obsolete_stand" just before checkflist, if we are building with DESTDIR != / To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 src/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/Makefile diff -u src/Makefile:1.308 src/Makefile:1.309 --- src/Makefile:1.308 Mon Jun 16 09:04:43 2014 +++ src/Makefile Mon Jun 16 09:06:26 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.308 2014/06/16 09:04:43 apb Exp $ +# $NetBSD: Makefile,v 1.309 2014/06/16 09:06:26 apb Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -196,6 +196,11 @@ postinstall-fix-obsolete: .NOTMAIN .PHON ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete @echo " ===============================" +postinstall-fix-obsolete_stand: .NOTMAIN .PHONY + @echo " === Removing obsolete files ===" + ${_POSTINSTALL_ENV} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete_stand + @echo " ===============================" + # # Targets (in order!) called by "make build". @@ -308,6 +313,7 @@ distribution buildworld: .PHONY .MAKE ${MAKEDIRTARGET} etc distribution INSTALL_DONE=1 .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/" ${MAKEDIRTARGET} . postinstall-fix-obsolete + ${MAKEDIRTARGET} . postinstall-fix-obsolete_stand ${MAKEDIRTARGET} distrib/sets checkflist .endif @echo "make ${.TARGET} started at: ${START_TIME}"