trying to "inject" commands into xcopy doesn't work on international windows version. You simply can't answer the question "Datei oder Verzeichnis" with the key 'f' ;-)

Replace this with the triple: "copy, if exist delete, rename" which isn't very nice but at least works on all machines

svn path=/trunk/; revision=27325
This commit is contained in:
Ulf Lamping 2009-01-29 01:31:11 +00:00
parent 0e1613fbe5
commit 7eae5480fb
1 changed files with 4 additions and 3 deletions

View File

@ -961,9 +961,10 @@ install-generated-files:
xcopy doc\*.html $(INSTALL_DIR) /d
if not exist $(INSTALL_DIR)\help mkdir $(INSTALL_DIR)\help
xcopy ".\help\*.*" $(INSTALL_DIR)\help /d
# Oh for crying out loud. Xcopy has a "the destination is a directory"
# flag, but no corresponding "the destination is a file" flag.
echo f | xcopy ".\help\faq.txt" $(INSTALL_DIR)\FAQ /d
# you can't reliably use xcopy to rename files "on the fly" (so copy first, then rename)
xcopy ".\help\faq.txt" $(INSTALL_DIR) /d
if exist $(INSTALL_DIR)\FAQ del $(INSTALL_DIR)\FAQ
ren $(INSTALL_DIR)\faq.txt FAQ
if not exist $(INSTALL_DIR)\dtds mkdir $(INSTALL_DIR)\dtds
xcopy ".\dtds\*.*" $(INSTALL_DIR)\dtds /d
if not exist $(INSTALL_DIR)\asn1 mkdir $(INSTALL_DIR)\asn1