diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-05-31 14:24:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-05-31 14:24:56 +0000 |
commit | ca12659b0e397cc5b28088111fe498237a2180dd (patch) | |
tree | 59b33ddd20cbdee41a6f0b226b04b4b587ae8aeb /win32/Makefile | |
parent | 25207203046d8f94b03829079bb348bf2c1b204b (diff) | |
download | perl-ca12659b0e397cc5b28088111fe498237a2180dd.tar.gz |
Run mktables as part of the build process.
Don't ship any of the files that it generates in lib/unicore
p4raw-id: //depot/perl@22879
Diffstat (limited to 'win32/Makefile')
-rw-r--r-- | win32/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/win32/Makefile b/win32/Makefile index 7319709626..308099f8a5 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -451,6 +451,14 @@ CONFIGPM = ..\lib\Config.pm MINIMOD = ..\lib\ExtUtils\Miniperl.pm X2P = ..\x2p\a2p.exe +# Unicode data files generated by mktables +UNIDATAFILES = ..\lib\unicore\Canonical.pl ..\lib\unicore\Exact.pl \ + ..\lib\unicore\Properties ..\lib\unicore\Decomposition.pl \ + ..\lib\unicore\CombiningClass.pl ..\lib\unicore\Name.pl + +# Directories of Unicode data files generated by mktables +UNIDATADIRS = ..\lib\unicore\To ..\lib\unicore\lib + PERLEXE_ICO = .\perlexe.ico PERLEXE_RES = .\perlexe.res PERLDLL_RES = @@ -818,7 +826,7 @@ CFG_VARS = \ # Top targets # -all : .\config.h $(GLOBEXE) $(MINIMOD) $(CONFIGPM) $(PERLEXE) \ +all : .\config.h $(GLOBEXE) $(MINIMOD) $(CONFIGPM) $(UNIDATAFILES) $(PERLEXE) \ $(X2P) Extensions @echo Everything is up to date. '$(MAKE_BARE) test' to run test suite. @@ -1146,7 +1154,12 @@ inst_lib : $(CONFIGPM) $(MINIPERL) -I..\lib ..\splittree.pl "../LIB" $(AUTODIR) $(RCOPY) ..\lib $(INST_LIB)\*.* -minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils +$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables + cd ..\lib\unicore + ..\..\$(MINIPERL) -I..\..\lib mktables + cd ..\..\win32 + +minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils $(UNIDATAFILES) $(XCOPY) $(MINIPERL) ..\t\$(NULL) if exist ..\t\perl.exe del /f ..\t\perl.exe rename ..\t\miniperl.exe perl.exe @@ -1193,7 +1206,8 @@ _clean : -@$(DEL) $(CORE_OBJ) -if exist $(MINIDIR) rmdir /s /q $(MINIDIR) -if exist $(MINIDIR) rmdir /s $(MINIDIR) - -@$(DEL) $(WIN32_OBJ) + -if exist $(UNIDATADIRS) rmdir /s $(UNIDATADIRS) + -@$(DEL) $(UNIDATAFILES) -@$(DEL) $(DLL_OBJ) -@$(DEL) $(X2P_OBJ) -@$(DEL) ..\*$(o) ..\*.lib ..\*.exp *$(o) *.lib *.exp *.res |