From: Guenter Knauf Date: Fri, 1 Apr 2011 03:07:06 +0000 (+0000) Subject: Added TOUCH macro to kill Win32 dependency on external touch command. X-Git-Tag: 2.3.12~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1983cb2ae711d3ee8ee81258ee925c32384c1554;p=thirdparty%2Fapache%2Fhttpd.git Added TOUCH macro to kill Win32 dependency on external touch command. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087563 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index e5fc7cef532..1e913f5ea98 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -148,6 +148,7 @@ MKDIR = mkdir -p $1 COPY = -cp -afv $1 $2 #COPYR = -cp -afr $1/* $2 COPYR = -rsync -aC $1/* $2 +TOUCH = -touch $1 ECHONL = echo "" DL = ' CAT = cat @@ -163,6 +164,7 @@ ECHONL = $(ComSpec) /c echo. MKDIR = $(shell if not exist $(subst /,\,$1)\NUL md 2>NUL $(subst /,\,$1)) COPY = -copy /y 2>NUL $(subst /,\,$1) $(subst /,\,$2) COPYR = -xcopy /q /y /e 2>NUL $(subst /,\,$1) $(subst /,\,$2) +TOUCH = -copy /b 2>NUL $1 +,, CAT = type endif