Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk fix parallel-make race.
details: https://anonhg.NetBSD.org/src/rev/25d98b96062f
branches: trunk
changeset: 553681:25d98b96062f
user: chs <chs%NetBSD.org@localhost>
date: Mon Oct 20 01:53:02 2003 +0000
description:
fix parallel-make race.
diffstat:
share/mk/bsd.kinc.mk | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r aed7608cf6d9 -r 25d98b96062f share/mk/bsd.kinc.mk
--- a/share/mk/bsd.kinc.mk Mon Oct 20 01:26:44 2003 +0000
+++ b/share/mk/bsd.kinc.mk Mon Oct 20 01:53:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kinc.mk,v 1.31 2003/10/19 03:00:55 lukem Exp $
+# $NetBSD: bsd.kinc.mk,v 1.32 2003/10/20 01:53:02 chs Exp $
# Variables:
#
@@ -21,15 +21,14 @@
##### Basic targets
.PHONY: incinstall
-includes: ${INCS} incinstall
+.PHONY: ${DESTDIR}${INCSDIR}
+.PRECIOUS: ${DESTDIR}${INCSDIR}
+includes: ${DESTDIR}${INCSDIR} .WAIT ${INCS} incinstall
##### Install rules
incinstall:: # ensure existence
# make sure the directory is OK, and install includes.
-incinstall:: ${DESTDIR}${INCSDIR}
-.PRECIOUS: ${DESTDIR}${INCSDIR}
-.PHONY: ${DESTDIR}${INCSDIR}
${DESTDIR}${INCSDIR}:
@if [ ! -d ${.TARGET} ] || [ -h ${.TARGET} ] ; then \
Home |
Main Index |
Thread Index |
Old Index