Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Run "postinstall fix obsolete_stand" just before checkflist,



details:   https://anonhg.NetBSD.org/src/rev/eff7fef158a2
branches:  trunk
changeset: 329984:eff7fef158a2
user:      apb <apb%NetBSD.org@localhost>
date:      Mon Jun 16 09:06:26 2014 +0000

description:
Run "postinstall fix obsolete_stand" just before checkflist,
if we are building with DESTDIR != /

diffstat:

 Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r a675fbcbbffd -r eff7fef158a2 Makefile
--- a/Makefile  Mon Jun 16 09:04:43 2014 +0000
+++ b/Makefile  Mon Jun 16 09:06:26 2014 +0000
@@ -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_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 @@
        ${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}"



Home | Main Index | Thread Index | Old Index