From: Steve Peters Date: Fri, 22 Dec 2006 15:18:02 +0000 (+0000) Subject: miniperl may not have been successfully built before running a X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f2534cb5d7fbcee456ff505c1c5c83af06b380c5;p=p5sagit%2Fp5-mst-13.2.git miniperl may not have been successfully built before running a "make distclean". p4raw-id: //depot/perl@29612 --- diff --git a/Makefile.SH b/Makefile.SH index df94359..191ae29 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -817,7 +817,7 @@ preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL) .PHONY: makeppport makeppport: miniperl$(EXE_EXT) $(CONFIGPM) - $(LDLIBPTH) ./miniperl -Ilib mkppport + $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm @@ -1077,7 +1077,7 @@ _cleaner1: -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do \ $(LDLIBPTH) sh ext/util/make_ext $(CLEAN) $$x MAKE=$(MAKE) ; \ done - $(LDLIBPTH) ./miniperl -Ilib mkppport --clean + -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport --clean # Some systems do not support "?", so keep these files separate. _cleaner2: @@ -1178,7 +1178,7 @@ unpack_files: $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m cleanup_unpacked_files: - $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c + -@test ! -f ./miniperl$(EXE_EXT) || $(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -c # The second branch is for testing without a tty or controlling terminal, # see t/op/stat.t