diff options
-rw-r--r-- | NWGNUmakefile | 2 | ||||
-rw-r--r-- | build/NWGNUenvironment.inc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile index 4a50b0dd1..cef2a27f2 100644 --- a/NWGNUmakefile +++ b/NWGNUmakefile @@ -320,7 +320,7 @@ ifndef DEST -copy $(subst /,\,$(APRUTIL))\STATUS $(INSTALLBASE)\*.apu -copy $(subst /,\,$(APRUTIL))\CHANGES $(INSTALLBASE)\*.apu @echo rem copying the docs directories > xc.bat - @echo xcopy docs $(INSTALLBASE)\docs\*.* /E /Y >> xc.bat + @echo xcopy docs $(INSTALLBASE)\docs\*.* $(XCOPYSW) >> xc.bat $(CMD) xc.bat $(DEL) xc.bat diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index 44417d658..b3aff53b1 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -243,12 +243,14 @@ CHKNOT=cmd /C if not exist DEL = del /F DELTREE = cmd /C rd /s/q WINNT=1 +XCOPYSW = /E else CMD=command /C CHK=command /C if exist CHKNOT=command /C if not exist DEL = del DELTREE = deltree /y +XCOPYSW = /E /Y endif |