Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 23:37:47 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r256404 - projects/bmake/include
Message-ID:  <201310122337.r9CNbl13040322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Sat Oct 12 23:37:47 2013
New Revision: 256404
URL: http://svnweb.freebsd.org/changeset/base/256404

Log:
  In meta mode touch targets like copies so we don't needlessly repeat them.

Modified:
  projects/bmake/include/Makefile

Modified: projects/bmake/include/Makefile
==============================================================================
--- projects/bmake/include/Makefile	Sat Oct 12 23:33:36 2013	(r256403)
+++ projects/bmake/include/Makefile	Sat Oct 12 23:37:47 2013	(r256404)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310122337.r9CNbl13040322>