summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-07 22:44:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-07 22:44:14 +0000
commit9b2e5f843deb3fa0016065513d05faa768e57310 (patch)
treecc30442aecbda3ffb1f39802a043ae27c3ea6565 /Makefile.SH
parent46b277d5d6cbd510d69c01221748d4e1e88a72bb (diff)
downloadperl-9b2e5f843deb3fa0016065513d05faa768e57310.tar.gz
Zap the lib/re.pm before creating it.
p4raw-id: //depot/perl@11200
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 2924074e36..228754df2d 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -811,10 +811,12 @@ $(DYNALOADER): miniperl preplibrary FORCE
@$(LDLIBPTH) sh ext/util/make_ext static $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
d_dummy $(dynamic_ext): miniperl preplibrary $(DYNALOADER) FORCE
+ @-rm -f $@
@cat ext/re/re.pm > lib/re.pm
@$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
s_dummy $(static_ext): miniperl preplibrary $(DYNALOADER) FORCE
+ @-rm -f $@
@cat ext/re/re.pm > lib/re.pm
@$(LDLIBPTH) sh ext/util/make_ext static $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)