From 0d4cbbcf1b1e4309cffb93672b4f73f35e172ae0 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 29 Sep 2009 19:40:05 +0100 Subject: 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. --- Makefile.SH | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.1