summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-12-22 15:18:02 +0000
committerSteve Peters <steve@fisharerojo.org>2006-12-22 15:18:02 +0000
commitf2534cb5d7fbcee456ff505c1c5c83af06b380c5 (patch)
treeb10e5cdfd520686a172e7892f19ef67144adb0d3 /Makefile.SH
parent70ad979907cd25638a8f48cee7753606e16e2275 (diff)
downloadperl-f2534cb5d7fbcee456ff505c1c5c83af06b380c5.tar.gz
miniperl may not have been successfully built before running a
"make distclean". p4raw-id: //depot/perl@29612
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH
index df94359777..191ae29790 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