In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
[p5sagit/p5-mst-13.2.git] / pod / buildtoc
index 1ca0fdb..31eb1cd 100644 (file)
@@ -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;