Module Name:    src
Committed By:   mrg
Date:           Thu Jun  9 00:19:31 UTC 2016

Modified Files:
        src/etc/mtree: Makefile

Log Message:
make sure the build dist files are build before we try to use them.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/etc/mtree/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/mtree/Makefile
diff -u src/etc/mtree/Makefile:1.31 src/etc/mtree/Makefile:1.32
--- src/etc/mtree/Makefile:1.31	Wed Jun  8 22:12:42 2016
+++ src/etc/mtree/Makefile	Thu Jun  9 00:19:31 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.31 2016/06/08 22:12:42 mrg Exp $
+#	$NetBSD: Makefile,v 1.32 2016/06/09 00:19:31 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -36,6 +36,12 @@ EXTRA_DIST_FILES+=	${.CURDIR}/NetBSD.dis
 EXTRA_DIST_FILES+=	${.CURDIR}/NetBSD.dist.extsrc
 .endif
 
+#
+# The NetBSD.dist.base and ${EXTRA_DIST_FILES} should really be part
+# of the NetBSD.dist.tmp rule, but that needs to have no dependencies
+# so that it is re-run every time, yet it depends upon files existing.
+#
+.BEGIN: ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} 
 NetBSD.dist:	NetBSD.dist.tmp
 	cmp -s NetBSD.dist.tmp NetBSD.dist || { \
 		echo "Updating NetBSD.dist"; \

Reply via email to