summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-03 08:59:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-03 08:59:04 +0000
commitfec937024ba421d7e643018d73a32d633584674e (patch)
tree7db40cc9f2a448e541dcd4a06c65754c507c8ef2 /Makefile.SH
parentf6c51b389910b77209d1e0aab75a3e597d6b9311 (diff)
downloadperl-fec937024ba421d7e643018d73a32d633584674e.tar.gz
change#4431 was flawed
p4raw-link: @4431 on //depot/perl: 72b3d9b4e0eb3eb49735d998edaf49073f03375e p4raw-id: //depot/perl@4637
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH
index ef1a0e2a98..c17719e26a 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -487,6 +487,7 @@ $(plextract): miniperl lib/Config.pm lib/re.pm
$(LDLIBPTH) ./miniperl -Ilib $@.PL
extra.pods: perl
+ -@test -f extra.pods && rm -f `cat extra.pods`
-@rm -f extra.pods
-@for x in `grep -l '^=[a-z]' README.*` ; do \
nx=`echo $$x | sed -e "s/README\.//"`; \
@@ -494,9 +495,9 @@ extra.pods: perl
echo "pod/perl"$$nx".pod" >> extra.pods ; \
done
-install: all install.perl install.man extra.pods
+install: all install.perl install.man
-install.perl: all installperl
+install.perl: all extra.pods installperl
if [ -n "$(COMPILE)" ]; \
then \
cd utils; $(MAKE) compile; \
@@ -506,7 +507,7 @@ install.perl: all installperl
fi
$(LDLIBPTH) ./perl installperl
-install.man: all installman
+install.man: all extra.pods installman
$(LDLIBPTH) ./perl installman
# XXX Experimental. Hardwired values, but useful for testing.