perlfunc.pod grammar fixes
[p5sagit/p5-mst-13.2.git] / pod / Makefile.SH
index a186565..a1c6a33 100644 (file)
@@ -1,4 +1,4 @@
-case $CONFIG in
+case $PERL_CONFIG_SH in
 '')
        if test -f config.sh; then TOP=.;
        elif test -f ../config.sh; then TOP=..;
@@ -73,9 +73,6 @@ converters: $(CONVERTERS)
 
 regen_pods: perlmodlib.pod toc
 
-buildtoc:      buildtoc.PL perl.pod ../MANIFEST
-       $(PERLILIB) buildtoc.PL
-
 perltoc.pod:   buildtoc
 
 man:   pod2man $(MAN)
@@ -85,7 +82,7 @@ html: pod2html $(HTML)
 tex:   pod2latex $(TEX)
 
 toc perltoc.pod:       buildtoc
-       $(PERLILIB) buildtoc
+       $(PERLILIB) buildtoc --build-toc
 
 .SUFFIXES: .pm .pod
 
@@ -163,9 +160,9 @@ perlmodlib.pod:     $(PERL) perlmodlib.PL ../mv-if-diff ../MANIFEST
        sh ../mv-if-diff perlmodlib.tmp perlmodlib.pod
 
 compile: all
-       $(REALPERL) -I../lib ../utils/perlcc -o pod2latex.exe pod2latex -log ../compilelog
-       $(REALPERL) -I../lib ../utils/perlcc -o pod2man.exe pod2man -log ../compilelog
-       $(REALPERL) -I../lib ../utils/perlcc -o pod2text.exe pod2text -log ../compilelog
-       $(REALPERL) -I../lib ../utils/perlcc -o checkpods.exe checkpods -log ../compilelog
+       $(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o pod2latex.exe pod2latex -log ../compilelog
+       $(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o pod2man.exe pod2man -log ../compilelog
+       $(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o pod2text.exe pod2text -log ../compilelog
+       $(REALPERL) -I../lib ../utils/perlcc -I .. -L .. -o checkpods.exe checkpods -log ../compilelog
 
 !NO!SUBS!