summaryrefslogtreecommitdiff
path: root/pod/buildtoc
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 /pod/buildtoc
parentddea3ea7e37dd9e47ccbeefed8302a04c561f972 (diff)
downloadperl-e0be038f1205193cc1aaea93032983c220ad6f39.tar.gz
In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
Diffstat (limited to 'pod/buildtoc')
-rw-r--r--pod/buildtoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index 1ca0fdb006..31eb1cddad 100644
--- a/pod/buildtoc
+++ b/pod/buildtoc
@@ -706,14 +706,14 @@ sub do_unix {
$makefile_SH =~ s!(
pod/perl[a-z0-9_]+\.pod: pod/perl[a-z0-9_]+\.pod
- cd pod && \$\(LNS\) perl[a-z0-9_]+\.pod perl[a-z0-9_]+\.pod
+ \$\(LNS\) perl[a-z0-9_]+\.pod pod/perl[a-z0-9_]+\.pod
)+!\0!gm;
verify_contiguous($name, $makefile_SH, 'copy rules');
my @copy_rules = map "
pod/$_: pod/$Copies{$_}
- cd pod && \$(LNS) $Copies{$_} $_
+ \$(LNS) $Copies{$_} pod/$_
", keys %Copies;
$makefile_SH =~ s/\0+/join '', @copy_rules/se;