diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win/rules.vc | 8 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2007-02-03 Joe Mistachkin <joe@mistachkin.com> + + * win/rules.vc: Fix platform specific file copy macros for downlevel + Windows. + 2007-01-29 Don Porter <dgp@users.sourceforge.net> * generic/tclResult.c: Added optimization case to TclTransferResult diff --git a/win/rules.vc b/win/rules.vc index 763dc96..22208d2 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2006 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.28 2007/01/11 13:17:09 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.29 2007/02/04 00:01:54 mistachkin Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -52,18 +52,20 @@ CFG_ENCODING = \"cp1252\" RMDIR = rmdir /S /Q ERRNULL = 2>NUL !if ![ver | find "4.0" > nul] -CPY = echo y | xcopy /i +CPY = echo y | xcopy /i >NUL +COPY = copy >NUL !else CPY = xcopy /i /y >NUL +COPY = copy /y >NUL !endif !else # "$(OS)" != "Windows_NT" CPY = xcopy /i >_JUNK.OUT # On Win98 NUL does not work here. +COPY = copy >_JUNK.OUT # On Win98 NUL does not work here. RMDIR = deltree /Y NULL = \NUL # Used in testing directory existence ERRNULL = >NUL # Win9x shell cannot redirect stderr !endif MKDIR = mkdir -COPY = copy /y >NUL !message =============================================================================== |