diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-07-30 03:18:01 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-07-30 03:18:01 +0000 |
commit | bf35c3f6afc591c147608b6bcc7772580a3022dc (patch) | |
tree | 4aeb20bdd577de5d49c0187e2f7d51907de6f852 /Makefile.SH | |
parent | 2aabf906a0221264b50f180b3ad1c1282e128020 (diff) | |
download | perl-bf35c3f6afc591c147608b6bcc7772580a3022dc.tar.gz |
extras.make, extras.test, and extras.install make targets.
p4raw-id: //depot/perl@11495
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH index 5623341e25..1a1bc098e1 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -222,6 +222,8 @@ OPTIMIZE = $optimize EXTRAS = $extras +INSTALLPREFIXEXP = $prefix + !GROK!THIS! # not used by Makefile but by installperl; # mentioned here so that metaconfig picks these up @@ -303,7 +305,7 @@ lintflags = -hbvxac .PHONY: all compile translators utilities -all: $(FIRSTMAKEFILE) miniperl extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) +all: $(FIRSTMAKEFILE) miniperl extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make @echo " "; @echo " Everything is up to date. 'make test' to run test suite." @@ -662,8 +664,24 @@ extra.pods: miniperl cd pod ; $(LNS) ../$$x "perl"$$nx".pod" ; cd .. ; \ echo "pod/perl"$$nx".pod" >> extra.pods ; \ done + -@rm -f pod/perlvms.pod -@test -f vms/perlvms.pod && cd pod && $(LNS) ../vms/perlvms.pod perlvms.pod && cd .. && echo "pod/perlvms.pod" >> extra.pods +extras.prep: perl + @echo "CPAN needs to be configured..." + @echo + -@test -f extras.lst || touch extras.lst + +extras.make: extras.prep + $(LDLIBPTH) PATH=`pwd`:`pwd`/pod:${PATH} ./perl -Ilib -MCPAN -e 'make(@ARGV)' `cat extras.lst` + +extras.test: extras.prep + $(LDLIBPTH) PATH=`pwd`:`pwd`/pod:${PATH} ./perl -Ilib -MCPAN -e 'test(@ARGV)' `cat extras.lst` + +extras.install: extras.prep + -@test -f extras.lst || touch extras.lst + $(LDLIBPTH) PATH=`pwd`:`pwd`/pod:${PATH} ./perl -Ilib -MCPAN -e 'install(@ARGV)' `cat extras.lst` + .PHONY: install install-strip install-all install-verbose install-silent \ no-install install.perl install.man installman install.html installhtml @@ -682,7 +700,7 @@ install-silent: no-install: $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n -install.perl: all installperl extras.lst +install.perl: all installperl if [ -n "$(COMPILE)" ]; \ then \ cd utils; $(MAKE) compile; \ @@ -691,6 +709,7 @@ install.perl: all installperl extras.lst else :; \ fi $(LDLIBPTH) ./perl installperl $(INSTALLFLAGS) $(STRIPFLAGS) + $(MAKE) extras.install install.man: all installman $(LDLIBPTH) ./perl installman $(INSTALLFLAGS) @@ -856,7 +875,7 @@ realclean: _realcleaner _mopup _clobber: -@rm -f Cross/run-* Cross/to-* Cross/from-* - rm -f config.sh cppstdin Policy.sh + rm -f config.sh cppstdin Policy.sh extras.lst clobber: _realcleaner _mopup _clobber |