diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-24 10:50:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-24 10:50:14 +0000 |
commit | f6f8c4a6fa7b1bed9c4f52539d99107993092fc9 (patch) | |
tree | 8c4df5e657006c76c68a24a4b1564c68f9bd6579 /Makefile.SH | |
parent | 0fb3d4593bdf74f73e3c2d1b40d54395c3d67b58 (diff) | |
download | perl-f6f8c4a6fa7b1bed9c4f52539d99107993092fc9.tar.gz |
install all README.foo with pod content as podfoo.pod
p4raw-id: //depot/perl@4431
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH index 7c542a6a3f..b60715eec2 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -481,8 +481,16 @@ lib/re.pm: ext/re/re.pm $(plextract): miniperl lib/Config.pm lib/re.pm $(LDLIBPTH) ./miniperl -Ilib $@.PL - -install: all install.perl install.man + +extra.pods: perl + -@rm -f extra.pods + -@for x in `grep -l '^=[a-z]' README.*` ; do \ + nx=`echo $$x | sed -e "s/README\.//"`; \ + $(LNS) ../$$x "pod/perl"$$nx".pod" ; \ + echo "pod/perl"$$nx".pod" >> extra.pods ; \ + done + +install: all install.perl install.man extra.pods install.perl: all installperl if [ -n "$(COMPILE)" ]; \ @@ -606,7 +614,8 @@ distclean: clobber # Do not 'make _mopup' directly. _mopup: rm -f *$(OBJ_EXT) *$(LIB_EXT) all perlmain.c - rm -f perl.exp ext.libs + -@test -f extra.pods && rm -f `cat extra.pods` + -rm -f perl.exp ext.libs extra.pods -rm -f perl.export perl.dll perl.libexp perl.map perl.def -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap rm -f perl suidperl miniperl $(LIBPERL) |