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"
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to