diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-29 19:40:05 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-29 19:40:05 +0100 |
commit | 0d4cbbcf1b1e4309cffb93672b4f73f35e172ae0 (patch) | |
tree | d27ea13ac545f63b25242b1ba06bb631f58add58 /Makefile.SH | |
parent | 85741d00cbd04edb73bec2243f2bc99880ce89fd (diff) | |
download | perl-0d4cbbcf1b1e4309cffb93672b4f73f35e172ae0.tar.gz |
Recursively delete all ppport.h files, instead of running mkppport --clean.
mkppport --clean relies on miniperl not yet being deleted, which doesn't always
hold. Idea blatently stolen from Steve Hay's commit 85741d00cbd04edb.
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH index 7e6a099844..b2d4d15080 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -1226,7 +1226,10 @@ _cleaner1: sh $(CLEAN).sh ; \ fi rm -f realclean.sh veryclean.sh - -@test ! -f ./$(MINIPERL_EXE) || $(MINIPERL) mkppport --clean + -for file in `find cpan dist ext -name ppport.h` ; do rm -f $$file; done + +# Dear POSIX, thanks for making the default to xargs to be +# run once if nothhing is passed in. It is such a great help. # Some systems do not support "?", so keep these files separate. _cleaner2: |