summaryrefslogtreecommitdiff
path: root/win32/Makefile
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-06-01 16:30:37 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-06-01 14:30:48 +0000
commit27a8011f06c478a310bc7e1bbe434c4e3644afde (patch)
tree3b7694aaa1be9a048b858b1f625e20dbdf2801e5 /win32/Makefile
parentdfc878f226e9b733eaca934d1cde9601e12ff9bb (diff)
downloadperl-27a8011f06c478a310bc7e1bbe434c4e3644afde.tar.gz
Re: Smoke [5.9.2] 22881 FAIL(M) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message-ID: <40BC930D.90701@uk.radan.com> p4raw-id: //depot/perl@22887
Diffstat (limited to 'win32/Makefile')
-rw-r--r--win32/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 6f3e6ce425..3039a0dd06 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -458,7 +458,8 @@ UNIDATAFILES = ..\lib\unicore\Canonical.pl ..\lib\unicore\Exact.pl \
..\lib\unicore\PVA.pl
# Directories of Unicode data files generated by mktables
-UNIDATADIRS = ..\lib\unicore\To ..\lib\unicore\lib
+UNIDATADIR1 = ..\lib\unicore\To
+UNIDATADIR2 = ..\lib\unicore\lib
PERLEXE_ICO = .\perlexe.ico
PERLEXE_RES = .\perlexe.res
@@ -1156,9 +1157,8 @@ inst_lib : $(CONFIGPM)
$(RCOPY) ..\lib $(INST_LIB)\*.*
$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
- cd ..\lib\unicore
- ..\..\$(MINIPERL) -I..\..\lib mktables
- cd ..\..\win32
+ cd ..\lib\unicore && \
+ ..\$(MINIPERL) -I.. mktables
minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils $(UNIDATAFILES)
$(XCOPY) $(MINIPERL) ..\t\$(NULL)
@@ -1193,6 +1193,8 @@ _test :
$(PERLEXE) -I..\lib harness
cd ..\win32
+# the doubled rmdir calls are needed because older cmd shells
+# don't understand /q
_clean :
-@$(DEL) miniperlmain$(o)
-@$(DEL) $(MINIPERL)
@@ -1207,8 +1209,12 @@ _clean :
-@$(DEL) $(CORE_OBJ)
-if exist $(MINIDIR) rmdir /s /q $(MINIDIR)
-if exist $(MINIDIR) rmdir /s $(MINIDIR)
- -if exist $(UNIDATADIRS) rmdir /s $(UNIDATADIRS)
+ -if exist $(UNIDATADIR1) rmdir /s /q $(UNIDATADIR1)
+ -if exist $(UNIDATADIR1) rmdir /s $(UNIDATADIR1)
+ -if exist $(UNIDATADIR2) rmdir /s /q $(UNIDATADIR2)
+ -if exist $(UNIDATADIR2) rmdir /s $(UNIDATADIR2)
-@$(DEL) $(UNIDATAFILES)
+ -@$(DEL) $(WIN32_OBJ)
-@$(DEL) $(DLL_OBJ)
-@$(DEL) $(X2P_OBJ)
-@$(DEL) ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res