From: William A. Rowe Jr Date: Fri, 24 May 2002 15:16:53 +0000 (+0000) Subject: We appear to never have had any complaints about copy srcname dstname X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adde718c18055c9ba40178888682b43ca987be5c;p=apache We appear to never have had any complaints about copy srcname dstname not overwriting dstname ... this flavor is certain not to emit a file exists error [with the obvious caviat - if it's write protected, your problem.] Much simpler than /y, <.y or set copycmd fooness. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95265 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/libhttpd.dsp b/libhttpd.dsp index a2c1bf7fea..d15d69c09c 100644 --- a/libhttpd.dsp +++ b/libhttpd.dsp @@ -198,12 +198,11 @@ SOURCE=.\server\gen_test_char.exe # PROP Ignore_Default_Tool 1 USERDEP__WIN32=".\include\os.h" -# Begin Custom Build - Generating test_char.h +# Begin Custom Build - Generating test_char.h from gen_test_char.exe InputPath=.\server\gen_test_char.exe ".\server\test_char.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" .\server\gen_test_char.exe >.\server\test_char.h - echo Generated test_char.h from gen_test_char.exe # End Custom Build @@ -211,12 +210,11 @@ InputPath=.\server\gen_test_char.exe # PROP Ignore_Default_Tool 1 USERDEP__WIN32=".\include\os.h" -# Begin Custom Build - Generating test_char.h +# Begin Custom Build - Generating test_char.h from gen_test_char.exe InputPath=.\server\gen_test_char.exe ".\server\test_char.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" .\server\gen_test_char.exe >.\server\test_char.h - echo Generated test_char.h from gen_test_char.exe # End Custom Build @@ -230,24 +228,22 @@ SOURCE=.\modules\http\mod_core.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_core.h +# Begin Custom Build - Creating include/mod_core.h InputPath=.\modules\http\mod_core.h ".\include\mod_core.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\http\mod_core.h .\include - echo Created mod_core.h + type .\modules\http\mod_core.h > .\include\mod_core.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_core.h +# Begin Custom Build - Creating include/mod_core.h InputPath=.\modules\http\mod_core.h ".\include\mod_core.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\http\mod_core.h .\include - echo Created mod_core.h + type .\modules\http\mod_core.h > .\include\mod_core.h # End Custom Build @@ -261,24 +257,22 @@ SOURCE=.\modules\dav\main\mod_dav.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_dav.h +# Begin Custom Build - Creating include/mod_dav.h InputPath=.\modules\dav\main\mod_dav.h ".\include\mod_dav.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\dav\main\mod_dav.h .\include - echo Created mod_dav.h + type .\modules\dav\main\mod_dav.h > .\include\mod_dav.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_dav.h +# Begin Custom Build - Creating include/mod_dav.h InputPath=.\modules\dav\main\mod_dav.h ".\include\mod_dav.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\dav\main\mod_dav.h .\include - echo Created mod_dav.h + type .\modules\dav\main\mod_dav.h > .\include\mod_dav.h # End Custom Build @@ -292,24 +286,22 @@ SOURCE=.\modules\proxy\mod_proxy.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_proxy.h +# Begin Custom Build - Creating include/mod_proxy.h InputPath=.\modules\proxy\mod_proxy.h ".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\proxy\mod_proxy.h .\include - echo Created mod_proxy.h + type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mod_proxy.h +# Begin Custom Build - Creating include/mod_proxy.h InputPath=.\modules\proxy\mod_proxy.h ".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\modules\proxy\mod_proxy.h .\include - echo Created mod_proxy.h + type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h # End Custom Build @@ -323,24 +315,22 @@ SOURCE=.\server\mpm\winnt\mpm.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mpm.h +# Begin Custom Build - Creating include/mpm.h InputPath=.\server\mpm\winnt\mpm.h ".\include\mpm.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\server\mpm\winnt\mpm.h .\include - echo Created mpm.h + type .\server\mpm\winnt\mpm.h > .\include\mpm.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mpm.h +# Begin Custom Build - Creating include/mpm.h InputPath=.\server\mpm\winnt\mpm.h ".\include\mpm.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\server\mpm\winnt\mpm.h .\include - echo Created mpm.h + type .\server\mpm\winnt\mpm.h > .\include\mpm.h # End Custom Build @@ -354,24 +344,22 @@ SOURCE=.\server\mpm\winnt\mpm_default.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mpm_default.h +# Begin Custom Build - Creating include/mpm_default.h InputPath=.\server\mpm\winnt\mpm_default.h ".\include\mpm_default.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\server\mpm\winnt\mpm_default.h .\include - echo Created mpm_default.h + type .\server\mpm\winnt\mpm_default.h > .\include\mpm_default.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating mpm_default.h +# Begin Custom Build - Creating include/mpm_default.h InputPath=.\server\mpm\winnt\mpm_default.h ".\include\mpm_default.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\server\mpm\winnt\mpm_default.h .\include - echo Created mpm_default.h + type .\server\mpm\winnt\mpm_default.h > .\include\mpm_default.h # End Custom Build @@ -385,24 +373,22 @@ SOURCE=.\os\win32\os.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating os.h +# Begin Custom Build - Creating include/os.h InputPath=.\os\win32\os.h ".\include\os.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\os\win32\os.h .\include - echo Created os.h + type .\os\win32\os.h > .\include\os.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Generating os.h +# Begin Custom Build - Creating include/os.h InputPath=.\os\win32\os.h ".\include\os.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - xcopy /y .\os\win32\os.h .\include - echo Created os.h + type .\os\win32\os.h > .\include\os.h # End Custom Build diff --git a/srclib/pcre/dftables.dsp b/srclib/pcre/dftables.dsp index 46697f5a7a..4382944108 100644 --- a/srclib/pcre/dftables.dsp +++ b/srclib/pcre/dftables.dsp @@ -103,23 +103,21 @@ SOURCE=.\config.hw !IF "$(CFG)" == "dftables - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build !ELSEIF "$(CFG)" == "dftables - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build @@ -141,23 +139,21 @@ SOURCE=.\pcre.hw !IF "$(CFG)" == "dftables - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build !ELSEIF "$(CFG)" == "dftables - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build diff --git a/srclib/pcre/pcre.dsp b/srclib/pcre/pcre.dsp index 039a3b7982..8c2ae590eb 100644 --- a/srclib/pcre/pcre.dsp +++ b/srclib/pcre/pcre.dsp @@ -89,23 +89,21 @@ SOURCE=.\dftables.exe !IF "$(CFG)" == "pcre - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre chartables.c from dftables InputPath=.\dftables.exe ".\chartables.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" .\dftables.exe >.\chartables.c - Echo Creating pcre chartables.c from dftables # End Custom Build !ELSEIF "$(CFG)" == "pcre - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre chartables.c from dftables InputPath=.\dftables.exe ".\chartables.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" .\dftables.exe >.\chartables.c - Echo Creating pcre chartables.c from dftables # End Custom Build @@ -138,23 +136,21 @@ SOURCE=.\config.hw !IF "$(CFG)" == "pcre - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build !ELSEIF "$(CFG)" == "pcre - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build @@ -171,23 +167,21 @@ SOURCE=.\pcre.hw !IF "$(CFG)" == "pcre - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build !ELSEIF "$(CFG)" == "pcre - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build diff --git a/srclib/pcre/pcreposix.dsp b/srclib/pcre/pcreposix.dsp index f8e193a6bc..d38ebbfe0d 100644 --- a/srclib/pcre/pcreposix.dsp +++ b/srclib/pcre/pcreposix.dsp @@ -97,23 +97,21 @@ SOURCE=.\config.hw !IF "$(CFG)" == "pcreposix - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build !ELSEIF "$(CFG)" == "pcreposix - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre config.h from config.hw InputPath=.\config.hw ".\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\config.hw .\config.h >nul - echo Created pcre config.h from config.hw + type .\config.hw > .\config.h # End Custom Build @@ -126,23 +124,21 @@ SOURCE=.\pcre.hw !IF "$(CFG)" == "pcreposix - Win32 Release" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build !ELSEIF "$(CFG)" == "pcreposix - Win32 Debug" -# Begin Custom Build +# Begin Custom Build - Creating pcre.h from pcre.hw InputPath=.\pcre.hw ".\pcre.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy .\pcre.hw .\pcre.h >nul - echo Created pcre.h from pcre.hw + type .\pcre.hw > .\pcre.h # End Custom Build