summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2007-02-04 00:01:52 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2007-02-04 00:01:52 (GMT)
commit42d8740f9f7ffd03e3785f6a99f7ce57fe0cd1b5 (patch)
tree9fd07d63d1bc5afdffd95813a2395783f3224a0f /win/rules.vc
parent078360ebb5939a61b1b6d922a1f35571a5bcd9de (diff)
downloadtcl-42d8740f9f7ffd03e3785f6a99f7ce57fe0cd1b5.zip
tcl-42d8740f9f7ffd03e3785f6a99f7ce57fe0cd1b5.tar.gz
tcl-42d8740f9f7ffd03e3785f6a99f7ce57fe0cd1b5.tar.bz2
Windows build fix
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc8
1 files changed, 5 insertions, 3 deletions
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 ===============================================================================