summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-04-19 20:49:38 +0100
committerNicholas Clark <nick@ccl4.org>2009-04-19 20:49:38 +0100
commite0be038f1205193cc1aaea93032983c220ad6f39 (patch)
tree1e936f65430ae64b5edf6f555f90f1da39a3255e /Makefile.SH
parentddea3ea7e37dd9e47ccbeefed8302a04c561f972 (diff)
downloadperl-e0be038f1205193cc1aaea93032983c220ad6f39.tar.gz
In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH
index f7532dcc1d..e1f88c11f3 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -975,18 +975,18 @@ pod/perlapi.pod pod/perlintern.pod: miniperl$(EXE_EXT) autodoc.pl embed.fnc
$(RUN) ./miniperl$(EXE_EXT) -Ilib autodoc.pl
pod/perldelta.pod: pod/perl5110delta.pod
- cd pod && $(LNS) perl5110delta.pod perldelta.pod
+ $(LNS) perl5110delta.pod pod/perldelta.pod
extra.pods: miniperl$(EXE_EXT)
-@test ! -f extra.pods || rm -f `cat extra.pods`
-@rm -f extra.pods
-@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
nx=`echo $$x | sed -e "s/README\.//"`; \
- cd pod ; $(LNS) ../$$x "perl"$$nx".pod" ; cd .. ; \
+ $(LNS) ../$$x "pod/perl"$$nx".pod" ; \
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
+ -@test -f vms/perlvms.pod && $(LNS) ../vms/perlvms.pod pod/perlvms.pod && echo "pod/perlvms.pod" >> extra.pods
extras.make: perl$(EXE_EXT)
-@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" $(LDLIBPTH) $(RUN) ./perl -Ilib -MCPAN -e '@ARGV&&make(@ARGV)' `cat extras.lst`