diff options
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r-- | win32/makefile.mk | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk index f61b7b5ea2..bd3212bfc3 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -581,7 +581,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 @@ -1192,6 +1193,8 @@ utils: $(PERLEXE) $(X2P) # Note that the pod cleanup in this next section is parsed (and regenerated # by pod/buildtoc so please check that script before making changes here +# the doubled rmdir calls are needed because older cmd shells +# don't understand /q distclean: realclean -del /f $(MINIPERL) $(PERLEXE) $(PERLDLL) $(GLOBEXE) \ $(PERLIMPLIB) ..\miniperl$(a) $(MINIMOD) @@ -1288,9 +1291,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) $(UNIDATAFILES) utils $(XCOPY) $(MINIPERL) ..\t\$(NULL) @@ -1331,6 +1333,8 @@ _test : $(RIGHTMAKE) .ENDIF cd ..\t && $(PERLEXE) -I..\lib harness +# the doubled rmdir calls are needed because older cmd shells +# don't understand /q _clean : -@erase miniperlmain$(o) -@erase $(MINIPERL) @@ -1345,7 +1349,10 @@ _clean : -@erase $(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) -@erase $(UNIDATAFILES) -@erase $(WIN32_OBJ) -@erase $(DLL_OBJ) |