This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix calling of autodoc.pl in Win32 nmake Makefile
[perl5.git] / Makefile.SH
index f7532dc..7cb0004 100644 (file)
@@ -975,18 +975,16 @@ 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
 
 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`