X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.SH;h=c17719e26ad49d918a05439dc20f61d23e35f3f4;hb=fec937024ba421d7e643018d73a32d633584674e;hp=ef1a0e2a986fe655f5909d269774a374d0095e5e;hpb=f6c51b389910b77209d1e0aab75a3e597d6b9311;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Makefile.SH b/Makefile.SH index ef1a0e2..c17719e 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.