X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2FMakefile;h=50fb2708651575f2a3dbbf679bc2a8cea55f22ad;hb=2be4c08b6f13de9eea531f8a8a2229b3bd245b1a;hp=cd010280695dd99bdffcdf9b5512674a43e65e03;hpb=8ebc5c0145d2e3559bce3073437e6d027dcdffcc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/Makefile b/pod/Makefile index cd01028..50fb270 100644 --- a/pod/Makefile +++ b/pod/Makefile @@ -1,34 +1,58 @@ -CONVERTERS = pod2html pod2latex pod2man pod2text checkpods +CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \ + pod2usage podchecker podselect + +HTMLROOT = / # Change this to fix cross-references in HTML +POD2HTML = pod2html \ + --htmlroot=$(HTMLROOT) \ + --podroot=.. --podpath=pod:lib:ext:vms \ + --libpods=perlfunc:perlguts:perlvar:perlrun:perlop all: $(CONVERTERS) man + +converters: $(CONVERTERS) + PERL = ../miniperl +REALPERL = ../perl POD = \ perl.pod \ - perlnews.pod \ + perldelta.pod \ + perl5004delta.pod \ + perl5005delta.pod \ perldata.pod \ perlsyn.pod \ perlop.pod \ perlre.pod \ perlrun.pod \ perlfunc.pod \ + perlopentut.pod \ perlvar.pod \ perlsub.pod \ perlmod.pod \ + perlmodlib.pod \ + perlmodinstall.pod \ + perlfork.pod \ perlform.pod \ perllocale.pod \ perlref.pod \ + perlreftut.pod \ perldsc.pod \ perllol.pod \ + perlboot.pod \ perltoot.pod \ + perltootc.pod \ perlobj.pod \ perltie.pod \ perlbot.pod \ perlipc.pod \ + perlthrtut.pod \ + perldbmfilter.pod \ perldebug.pod \ + perlnumber.pod \ perldiag.pod \ perlsec.pod \ perltrap.pod \ + perlport.pod \ perlstyle.pod \ perlpod.pod \ perlbook.pod \ @@ -38,34 +62,63 @@ POD = \ perlxstut.pod \ perlguts.pod \ perlcall.pod \ + perlcompile.pod \ + perltodo.pod \ + perlapi.pod \ + perlintern.pod \ + perlhack.pod \ + perlhist.pod \ + perlfaq.pod \ + perlfaq1.pod \ + perlfaq2.pod \ + perlfaq3.pod \ + perlfaq4.pod \ + perlfaq5.pod \ + perlfaq6.pod \ + perlfaq7.pod \ + perlfaq8.pod \ + perlfaq9.pod \ perltoc.pod MAN = \ perl.man \ - perlnews.man \ + perldelta.man \ + perl5004delta.man \ + perl5005delta.man \ perldata.man \ perlsyn.man \ perlop.man \ perlre.man \ perlrun.man \ perlfunc.man \ + perlopentut.man \ perlvar.man \ perlsub.man \ perlmod.man \ + perlmodlib.man \ + perlmodinstall.man \ + perlfork.man \ perlform.man \ perllocale.man \ perlref.man \ + perlreftut.man \ perldsc.man \ perllol.man \ + perlboot.man \ perltoot.man \ + perltootc.man \ perlobj.man \ perltie.man \ perlbot.man \ perlipc.man \ + perlthrtut.man \ + perldbmfilter.man \ perldebug.man \ + perlnumber.man \ perldiag.man \ perlsec.man \ perltrap.man \ + perlport.man \ perlstyle.man \ perlpod.man \ perlbook.man \ @@ -75,34 +128,63 @@ MAN = \ perlxstut.man \ perlguts.man \ perlcall.man \ + perlcompile.man \ + perltodo.man \ + perlapi.man \ + perlintern.man \ + perlhack.man \ + perlhist.man \ + perlfaq.man \ + perlfaq1.man \ + perlfaq2.man \ + perlfaq3.man \ + perlfaq4.man \ + perlfaq5.man \ + perlfaq6.man \ + perlfaq7.man \ + perlfaq8.man \ + perlfaq9.man \ perltoc.man HTML = \ perl.html \ - perlnews.html \ + perldelta.html \ + perl5004delta.html \ + perl5005delta.html \ perldata.html \ perlsyn.html \ perlop.html \ perlre.html \ perlrun.html \ perlfunc.html \ + perlopentut.html \ perlvar.html \ perlsub.html \ perlmod.html \ + perlmodlib.html \ + perlmodinstall.html \ + perlfork.html \ perlform.html \ perllocale.html \ perlref.html \ + perlreftut.html \ perldsc.html \ perllol.html \ + perlboot.html \ perltoot.html \ + perltootc.html \ perlobj.html \ perltie.html \ perlbot.html \ perlipc.html \ + perlthrtut.html \ + perldbmfilter.html \ perldebug.html \ + perlnumber.html \ perldiag.html \ perlsec.html \ perltrap.html \ + perlport.html \ perlstyle.html \ perlpod.html \ perlbook.html \ @@ -112,34 +194,63 @@ HTML = \ perlxstut.html \ perlguts.html \ perlcall.html \ - perltoc.html + perlcompile.html \ + perltodo.html \ + perlapi.html \ + perlintern.html \ + perlhack.html \ + perlhist.html \ + perlfaq.html \ + perlfaq1.html \ + perlfaq2.html \ + perlfaq3.html \ + perlfaq4.html \ + perlfaq5.html \ + perlfaq6.html \ + perlfaq7.html \ + perlfaq8.html \ + perlfaq9.html +# not perltoc.html TEX = \ perl.tex \ - perlnews.tex \ + perldelta.tex \ + perl5004delta.tex \ + perl5005delta.tex \ perldata.tex \ perlsyn.tex \ perlop.tex \ perlre.tex \ perlrun.tex \ perlfunc.tex \ + perlopentut.tex \ perlvar.tex \ perlsub.tex \ perlmod.tex \ + perlmodlib.tex \ + perlmodinstall.tex \ + perlfork.tex \ perlform.tex \ perllocale.tex \ perlref.tex \ + perlreftut.tex \ perldsc.tex \ perllol.tex \ + perlboot.tex \ perltoot.tex \ + perltootc.tex \ perlobj.tex \ perltie.tex \ perlbot.tex \ perlipc.tex \ + perlthrtut.tex \ + perldbmfilter.tex \ perldebug.tex \ + perlnumber.tex \ perldiag.tex \ perlsec.tex \ perltrap.tex \ + perlport.tex \ perlstyle.tex \ perlpod.tex \ perlbook.tex \ @@ -149,21 +260,36 @@ TEX = \ perlxstut.tex \ perlguts.tex \ perlcall.tex \ + perlcompile.tex \ + perltodo.tex \ + perlapi.tex \ + perlintern.tex \ + perlhack.tex \ + perlhist.tex \ + perlfaq.tex \ + perlfaq1.tex \ + perlfaq2.tex \ + perlfaq3.tex \ + perlfaq4.tex \ + perlfaq5.tex \ + perlfaq6.tex \ + perlfaq7.tex \ + perlfaq8.tex \ + perlfaq9.tex \ perltoc.tex -man: pod2man $(MAN) +man: pod2man $(MAN) -# pod2html normally runs on all the pods at once in order to build up -# cross-references. -html: pod2html - $(PERL) -I../lib pod2html $(POD) +html: pod2html $(HTML) tex: pod2latex $(TEX) toc: $(PERL) -I../lib buildtoc >perltoc.pod -.SUFFIXES: .pm .pod .man +.SUFFIXES: .pm .pod + +.SUFFIXES: .man .pm.man: pod2man $(PERL) -I../lib pod2man $*.pm >$*.man @@ -171,25 +297,28 @@ toc: .pod.man: pod2man $(PERL) -I../lib pod2man $*.pod >$*.man -.SUFFIXES: .mp .pod .html +.SUFFIXES: .html .pm.html: pod2html - $(PERL) -I../lib pod2html $*.pod + $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html .pod.html: pod2html - $(PERL) -I../lib pod2html $*.pod - -.SUFFIXES: .pm .pod .tex + $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html -.pod.tex: pod2latex - $(PERL) -I../lib pod2latex $*.pod +.SUFFIXES: .tex .pm.tex: pod2latex + $(PERL) -I../lib pod2latex $*.pm + +.pod.tex: pod2latex $(PERL) -I../lib pod2latex $*.pod clean: - rm -f $(MAN) $(HTML) $(TEX) - rm -f *.aux *.log + rm -f $(MAN) + rm -f $(HTML) + rm -f $(TEX) + rm -f pod2html-*cache + rm -f *.aux *.log *.exe realclean: clean rm -f $(CONVERTERS) @@ -216,4 +345,16 @@ pod2text: pod2text.PL ../lib/Config.pm checkpods: checkpods.PL ../lib/Config.pm $(PERL) -I ../lib checkpods.PL +pod2usage: pod2usage.PL ../lib/Config.pm + $(PERL) -I ../lib pod2usage.PL + +podchecker: podchecker.PL ../lib/Config.pm + $(PERL) -I ../lib podchecker.PL + +podselect: podselect.PL ../lib/Config.pm + $(PERL) -I ../lib podselect.PL + +compile: all + $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog; +