Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2015 16:09:55 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288608 - head/include
Message-ID:  <201510031609.t93G9ttI081961@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Oct  3 16:09:55 2015
New Revision: 288608
URL: https://svnweb.freebsd.org/changeset/base/288608

Log:
  Avoid make compatibility mode issues with creating cookies from r287844 and r287848.
  
  Also hide the cookie creation.
  
  Suggested by:	imp, Daniel O'Connor

Modified:
  head/include/Makefile

Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile	Sat Oct  3 16:01:16 2015	(r288607)
+++ head/include/Makefile	Sat Oct  3 16:09:55 2015	(r288608)
@@ -166,7 +166,7 @@ compat:
 	    -f ${.CURDIR}/../etc/mtree/BSD.include.dist \
 	    -p ${DESTDIR}${INCLUDEDIR} > /dev/null
 .if ${MK_META_MODE} == "yes"
-	touch ${.TARGET}
+	@touch ${.TARGET}
 .endif
 
 copies:
@@ -255,8 +255,7 @@ copies:
 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
 	    ${DESTDIR}${INCLUDEDIR}/teken
 .if ${MK_META_MODE} == "yes"
-	cd ${.OBJDIR}
-	touch ${.TARGET}
+	@touch ${.OBJDIR}/${.TARGET}
 .endif
 
 symlinks:
@@ -373,8 +372,7 @@ symlinks:
 		    ${DESTDIR}${INCLUDEDIR}/rpc; \
 	done
 .if ${MK_META_MODE} == "yes"
-	cd ${.OBJDIR}
-	touch ${.TARGET}
+	touch ${.OBJDIR}/${.TARGET}
 .endif
 
 .if ${MACHINE} == "host"



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