summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2009-09-29 17:51:05 +0100
committerSteve Hay <SteveHay@planit.com>2009-09-29 17:51:05 +0100
commit85741d00cbd04edb73bec2243f2bc99880ce89fd (patch)
treef21398c158eda89cf66b7e0cdafd9fee26b6029c /win32
parent2d53619e84b23c168ecb5cfd35e6cfb10dd066d0 (diff)
downloadperl-85741d00cbd04edb73bec2243f2bc99880ce89fd.tar.gz
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.
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile7
-rw-r--r--win32/makefile.mk7
2 files changed, 4 insertions, 10 deletions
diff --git a/win32/Makefile b/win32/Makefile
index e59bbe1f82..2d23a4d7a7 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 04d714318c..cdd17ed70a 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.