Change 32136 introduced an error - passing a const char * to
[p5sagit/p5-mst-13.2.git] / pod / Makefile.SH
index 58ce9be..74d299f 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)
@@ -84,18 +81,18 @@ html:       pod2html $(HTML)
 
 tex:   pod2latex $(TEX)
 
-toc:   buildtoc
-       $(PERLILIB) buildtoc
+toc perltoc.pod:       buildtoc
+       $(PERLILIB) buildtoc --build-toc
 
 .SUFFIXES: .pm .pod
 
 .SUFFIXES: .man
 
 .pm.man:     pod2man
-       $(PERL) -I../lib pod2man $*.pm >$*.man
+       $(REALPERL) -I../lib pod2man $*.pm >$*.man
 
 .pod.man:     pod2man
-       $(PERL) -I../lib pod2man $*.pod >$*.man
+       $(REALPERL) -I../lib pod2man $*.pod >$*.man
 
 .SUFFIXES: .html
 
@@ -157,12 +154,8 @@ podchecker:        podchecker.PL ../lib/Config.pm
 podselect:     podselect.PL ../lib/Config.pm
        $(PERL) -I ../lib podselect.PL
 
-perlmodlib.pod:        $(PERL) perlmodlib.PL ../mv-if-diff
-       rm -f perlmodlib.tmp
+perlmodlib.pod:        $(PERL) perlmodlib.PL ../MANIFEST
+       rm -f perlmodlib.pod
        $(PERL) -I ../lib perlmodlib.PL
-       sh ../mv-if-diff perlmodlib.tmp perlmodlib.pod
-
-compile: all
-       $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog;
 
 !NO!SUBS!