This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use alternative URLs for links which are now broken (link rot)
[perl5.git] / pod / Makefile.SH
index 6848225..1d53de7 100644 (file)
@@ -54,7 +54,7 @@ LDLIBPTH = $ldlibpth
 ## In the following dollars and backticks do not need the extra backslash.
 $spitshell >>Makefile <<'!NO!SUBS!'
 
-CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
+CONVERTERS = pod2html pod2latex pod2man pod2text \
                pod2usage podchecker podselect
 
 HTMLROOT = /   # Change this to fix cross-references in HTML
@@ -71,13 +71,6 @@ all: $(CONVERTERS) man
 
 converters: $(CONVERTERS)
 
-regen_pods: perlmodlib.pod toc
-
-buildtoc:      buildtoc.PL perl.pod ../MANIFEST
-       $(PERLILIB) buildtoc.PL
-
-perltoc.pod:   buildtoc
-
 man:   pod2man $(MAN)
 
 html:  pod2html $(HTML)
@@ -85,17 +78,17 @@ html:       pod2html $(HTML)
 tex:   pod2latex $(TEX)
 
 toc perltoc.pod:       buildtoc
-       $(PERLILIB) 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
 
@@ -128,9 +121,9 @@ distclean:  realclean
 veryclean:     distclean
        -rm -f *~ *.orig
 
-check: checkpods
+check: podchecker
        @echo "checking..."; \
-       $(PERL) -I../lib checkpods $(POD)
+       $(PERL) -I../lib podchecker $(POD)
 
 # Dependencies.
 pod2latex:     pod2latex.PL ../lib/Config.pm
@@ -145,9 +138,6 @@ pod2man:    pod2man.PL ../lib/Config.pm
 pod2text:      pod2text.PL ../lib/Config.pm
        $(LDLIBPTH) $(PERL) -I ../lib pod2text.PL
 
-checkpods:     checkpods.PL ../lib/Config.pm
-       $(LDLIBPTH) $(PERL) -I ../lib checkpods.PL
-
 pod2usage:     pod2usage.PL ../lib/Config.pm
        $(PERL) -I ../lib pod2usage.PL
 
@@ -157,15 +147,4 @@ 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 ../MANIFEST
-       rm -f perlmodlib.tmp
-       $(PERL) -I ../lib perlmodlib.PL
-       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
-
 !NO!SUBS!