X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2FMakefile.SH;h=1d53de7f9dcbb6a805dba4ca9068f28ceca1b704;hb=c1effa61278e47c916466883d74905b04fedc388;hp=ababd51d26e3687dd950509b3189d224f5ac7e98;hpb=416302502f485afad83d2cbfb0bf4c336eb95ad7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/Makefile.SH b/pod/Makefile.SH index ababd51..1d53de7 100644 --- a/pod/Makefile.SH +++ b/pod/Makefile.SH @@ -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,10 +71,6 @@ all: $(CONVERTERS) man converters: $(CONVERTERS) -regen_pods: perlmodlib.pod toc - -perltoc.pod: buildtoc - man: pod2man $(MAN) html: pod2html $(HTML) @@ -82,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 @@ -125,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 @@ -142,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 @@ -154,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 -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!