Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/mtree make sure the build dist files are build before we...
details: https://anonhg.NetBSD.org/src/rev/c1f9c54b5142
branches: trunk
changeset: 345791:c1f9c54b5142
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 09 00:19:31 2016 +0000
description:
make sure the build dist files are build before we try to use them.
diffstat:
etc/mtree/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 54a91f624382 -r c1f9c54b5142 etc/mtree/Makefile
--- a/etc/mtree/Makefile Thu Jun 09 00:17:45 2016 +0000
+++ b/etc/mtree/Makefile Thu Jun 09 00:19:31 2016 +0000
@@ -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.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"; \
Home |
Main Index |
Thread Index |
Old Index