X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2FMakefile;h=7eeabd943b02c13f5fbb885dda1b2d2bbee48e22;hb=1b3f7d2103791ceee4a17b0f9f5860baa1512c7a;hp=cf1e7a49d536d2c2ad83d027059c8b5cea9ff9a8;hpb=774d564bb7dd1ed64ca0d7e534aa67e93f991f02;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/Makefile b/pod/Makefile index cf1e7a4..7eeabd9 100644 --- a/pod/Makefile +++ b/pod/Makefile @@ -1,6 +1,13 @@ CONVERTERS = pod2html pod2latex pod2man pod2text checkpods +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 + PERL = ../miniperl POD = \ @@ -15,6 +22,7 @@ POD = \ perlvar.pod \ perlsub.pod \ perlmod.pod \ + perlmodlib.pod \ perlform.pod \ perllocale.pod \ perlref.pod \ @@ -38,6 +46,16 @@ POD = \ perlxstut.pod \ perlguts.pod \ perlcall.pod \ + perlfaq.pod \ + perlfaq1.pod \ + perlfaq2.pod \ + perlfaq3.pod \ + perlfaq4.pod \ + perlfaq5.pod \ + perlfaq6.pod \ + perlfaq7.pod \ + perlfaq8.pod \ + perlfaq9.pod \ perltoc.pod MAN = \ @@ -52,6 +70,7 @@ MAN = \ perlvar.man \ perlsub.man \ perlmod.man \ + perlmodlib.man \ perlform.man \ perllocale.man \ perlref.man \ @@ -75,6 +94,16 @@ MAN = \ perlxstut.man \ perlguts.man \ perlcall.man \ + perlfaq.man \ + perlfaq1.man \ + perlfaq2.man \ + perlfaq3.man \ + perlfaq4.man \ + perlfaq5.man \ + perlfaq6.man \ + perlfaq7.man \ + perlfaq8.man \ + perlfaq9.man \ perltoc.man HTML = \ @@ -89,6 +118,7 @@ HTML = \ perlvar.html \ perlsub.html \ perlmod.html \ + perlmodlib.html \ perlform.html \ perllocale.html \ perlref.html \ @@ -112,7 +142,17 @@ HTML = \ perlxstut.html \ perlguts.html \ perlcall.html \ - perltoc.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 \ @@ -126,6 +166,7 @@ TEX = \ perlvar.tex \ perlsub.tex \ perlmod.tex \ + perlmodlib.tex \ perlform.tex \ perllocale.tex \ perlref.tex \ @@ -149,21 +190,30 @@ TEX = \ perlxstut.tex \ perlguts.tex \ perlcall.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,24 +221,25 @@ 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 pod2html-*cache rm -f *.aux *.log realclean: clean