From: Gurusamy Sarathy Date: Tue, 28 Dec 1999 02:30:55 +0000 (+0000) Subject: avoid creating new files during make install X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b1a1e9f183683fbe4e7d701879a84c84baf9300e;p=p5sagit%2Fp5-mst-13.2.git avoid creating new files during make install p4raw-id: //depot/perl@4712 --- diff --git a/Makefile.SH b/Makefile.SH index 8eff294..ea75eac 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -261,7 +261,7 @@ lintflags = -hbvxac .c$(OBJ_EXT): $(CCCMD) $(PLDLFLAGS) $*.c -all: $(FIRSTMAKEFILE) miniperl $(private) $(public) $(dynamic_ext) $(nonxs_ext) +all: $(FIRSTMAKEFILE) miniperl extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) @echo " "; @echo " Everything is up to date. 'make test' to run test suite." @@ -505,7 +505,7 @@ lib/re.pm: ext/re/re.pm $(plextract): miniperl lib/Config.pm lib/re.pm $(LDLIBPTH) ./miniperl -Ilib $@.PL -extra.pods: perl +extra.pods: miniperl -@test -f extra.pods && rm -f `cat extra.pods` -@rm -f extra.pods -@for x in `grep -l '^=[a-z]' README.*` ; do \ @@ -516,7 +516,7 @@ extra.pods: perl install: all install.perl install.man -install.perl: all extra.pods installperl +install.perl: all installperl if [ -n "$(COMPILE)" ]; \ then \ cd utils; $(MAKE) compile; \ @@ -526,7 +526,7 @@ install.perl: all extra.pods installperl fi $(LDLIBPTH) ./perl installperl -install.man: all extra.pods installman +install.man: all installman $(LDLIBPTH) ./perl installman # XXX Experimental. Hardwired values, but useful for testing.