Source-Changes-HG archive

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

[src/trunk]: src/etc/mtree don't give NetBSD.dist.tmp any inputs, as then it ...



details:   https://anonhg.NetBSD.org/src/rev/ae7464ec4c44
branches:  trunk
changeset: 815928:ae7464ec4c44
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 08 22:12:42 2016 +0000

description:
don't give NetBSD.dist.tmp any inputs, as then it won't rebuild ever
unless they change, and we want to rebuild based upon what inputs are
present, not when they were last touched.

this fixes update builds that switch options that change the dirlist
like MKX11 or MKCOMPAT, restoring a portion of rev 1.14.

note that some opertions like turning off MKX11=yes will also require
a fresh DESTDIR, in addition to this fix.  there may be more issues
remaining, but i am now able to enable MKX11=yes successfully without
any other change.

diffstat:

 etc/mtree/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 92f2836ddaf8 -r ae7464ec4c44 etc/mtree/Makefile
--- a/etc/mtree/Makefile        Wed Jun 08 21:32:27 2016 +0000
+++ b/etc/mtree/Makefile        Wed Jun 08 22:12:42 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.30 2015/10/09 19:23:18 riz Exp $
+#      $NetBSD: Makefile,v 1.31 2016/06/08 22:12:42 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -41,7 +41,7 @@
                echo "Updating NetBSD.dist"; \
                mv NetBSD.dist.tmp NetBSD.dist; \
        }
-NetBSD.dist.tmp:: ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES}
+NetBSD.dist.tmp::
        ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} > \
            ${.TARGET}
 



Home | Main Index | Thread Index | Old Index