summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-10-12 23:37:47 +0000
committersjg <sjg@FreeBSD.org>2013-10-12 23:37:47 +0000
commite2ad3c722fd8604947ebe8e99c4ea4986e658793 (patch)
tree644a0a2d1de678b76c8faea206ed65b530f63251 /include
parentb294a0dec02248d39e5564efe860885310ae07fb (diff)
downloadFreeBSD-src-e2ad3c722fd8604947ebe8e99c4ea4986e658793.zip
FreeBSD-src-e2ad3c722fd8604947ebe8e99c4ea4986e658793.tar.gz
In meta mode touch targets like copies so we don't needlessly repeat them.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index d755693..2c6ac43 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -93,7 +93,7 @@ _libiconv_compat.h: ${.CURDIR}/Makefile
echo "#undef __LIBICONV_COMPAT" >> _libiconv_compat.h
.endif
.endif
-
+
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
@@ -178,6 +178,9 @@ compat:
-f ${.CURDIR}/../etc/mtree/BIND.include.dist \
-p ${DESTDIR}${INCLUDEDIR} > /dev/null
.endif
+.if ${MK_META_MODE} == "yes"
+ touch ${.TARGET}
+.endif
copies:
.for i in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS} altq crypto machine machine/pc \
@@ -257,6 +260,9 @@ copies:
cd ${.CURDIR}/../sys/rpc; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
${DESTDIR}${INCLUDEDIR}/rpc
+.if ${MK_META_MODE} == "yes"
+ touch ${.TARGET}
+.endif
symlinks:
@${ECHO} "Setting up symlinks to kernel source tree..."
@@ -369,3 +375,6 @@ symlinks:
ln -fs ../../../sys/rpc/$$h \
${DESTDIR}${INCLUDEDIR}/rpc; \
done
+.if ${MK_META_MODE} == "yes"
+ touch ${.TARGET}
+.endif
OpenPOWER on IntegriCloud