From: Steve Hay Date: Tue, 29 Sep 2009 16:51:05 +0000 (+0100) Subject: Running "mkppport --clean" at the end of "[nd]make distclean" on Win32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=85741d00cbd04edb;p=p5sagit%2Fp5-mst-13.2.git Running "mkppport --clean" at the end of "[nd]make distclean" on Win32 is more trouble than it's worth: it can't find Getopt::Long, constant, Pod::Usage or Pod::Text (at least). Just recursively delete all ppport.h files instead, given that there aren't any in the distribution. --- diff --git a/win32/Makefile b/win32/Makefile index e59bbe1..2d23a4d 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1024,9 +1024,6 @@ $(PERLEXESTATIC): $(PERLSTATICLIB) $(CONFIGPM) $(PERLEXEST_OBJ) $(PERLEXE_RES) MakePPPort: $(MINIPERL) $(CONFIGPM) Extensions_nonxs $(MINIPERL) -I..\lib $(ICWD) ..\mkppport -MakePPPort_clean: - -if exist $(MINIPERL) $(MINIPERL) -I..\lib ..\mkppport --clean - #------------------------------------------------------------------------------- # There's no direct way to mark a dependency on # DynaLoader.pm, so this will have to do @@ -1199,7 +1196,7 @@ distclean: realclean -del /f bin\*.bat -del /f perllibst.h -del /f perl.base - -cd .. && del /s *.lib *.map *.pdb *.ilk *.bs *$(o) .exists pm_to_blib + -cd .. && del /s *.lib *.map *.pdb *.ilk *.bs *$(o) .exists pm_to_blib ppport.h -cd $(EXTDIR) && del /s *.def Makefile Makefile.old -cd $(DISTDIR) && del /s *.def Makefile Makefile.old -cd $(CPANDIR) && del /s *.def Makefile Makefile.old @@ -1310,7 +1307,7 @@ _clean : clean : Extensions_clean _clean -realclean : Extensions_realclean MakePPPort_clean _clean +realclean : Extensions_realclean _clean # Handy way to run perlbug -ok without having to install and run the # installed perlbug. We don't re-run the tests here - we trust the user. diff --git a/win32/makefile.mk b/win32/makefile.mk index 04d7143..cdd17ed 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1360,9 +1360,6 @@ $(PERLEXESTATIC): $(PERLSTATICLIB) $(CONFIGPM) $(PERLEXEST_OBJ) $(PERLEXE_RES) MakePPPort: $(MINIPERL) $(CONFIGPM) Extensions_nonxs $(MINIPERL) -I..\lib $(ICWD) ..\mkppport -MakePPPort_clean: - -if exist $(MINIPERL) $(MINIPERL) -I..\lib $(ICWD) ..\mkppport --clean - #------------------------------------------------------------------------------- # There's no direct way to mark a dependency on # DynaLoader.pm, so this will have to do @@ -1532,7 +1529,7 @@ distclean: realclean -del /f bin\*.bat -del /f perllibst.h -del /f perl.base - -cd .. && del /s *$(a) *.map *.pdb *.ilk *.tds *.bs *$(o) .exists pm_to_blib + -cd .. && del /s *$(a) *.map *.pdb *.ilk *.tds *.bs *$(o) .exists pm_to_blib ppport.h -cd $(EXTDIR) && del /s *.def Makefile Makefile.old -cd $(DISTDIR) && del /s *.def Makefile Makefile.old -cd $(CPANDIR) && del /s *.def Makefile Makefile.old @@ -1650,7 +1647,7 @@ _clean : clean : Extensions_clean _clean -realclean : Extensions_realclean MakePPPort_clean _clean +realclean : Extensions_realclean _clean # Handy way to run perlbug -ok without having to install and run the # installed perlbug. We don't re-run the tests here - we trust the user.