summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-05 14:11:00 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-05 14:11:00 +0100
commitff3463136509252c393256a31eb1c75bcd50b5f2 (patch)
tree8172f8a3ce9b9d7c48300b7d4f67e1d9844366e3 /Makefile.SH
parente5620114d87b855390cf96dfb6fbd3d49cbfdea3 (diff)
downloadperl-ff3463136509252c393256a31eb1c75bcd50b5f2.tar.gz
"rm -f" better in "make clean" targets
It always succeeds and does not warn.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 6d6ed3141f..7773f099b3 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1223,8 +1223,7 @@ _tidy:
-cd pod; $(LDLIBPTH) $(MAKE) clean
-cd utils; $(LDLIBPTH) $(MAKE) clean
-cd x2p; $(LDLIBPTH) $(MAKE) clean
- -rm lib/Config_git.pl
- -rm git_version.h
+ -rm -f lib/Config_git.pl git_version.h
-@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \
$(LDLIBPTH) sh ext/util/make_ext clean $$x MAKE=$(MAKE) ; \
done