X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2FMakefile;h=bfe6c8edadab57ecc7f8e54b7beef4c5b769430a;hb=84287afe68eecc4342d7e27aac5d9df9d2412490;hp=9cf48eb5c657aa4edcc92290fc4dad6b3f9b733e;hpb=cb1a09d0194fed9b905df7b04a4bc031d354609d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/Makefile b/pod/Makefile index 9cf48eb..bfe6c8e 100644 --- a/pod/Makefile +++ b/pod/Makefile @@ -1,10 +1,9 @@ -CONVERTERS = pod2html pod2latex pod2man +CONVERTERS = pod2html pod2latex pod2man pod2text all: $(CONVERTERS) man +PERL = ../miniperl -#PERL = ../miniperl - -POD = \ +POD = \ perl.pod \ perlbook.pod \ perlbot.pod \ @@ -21,8 +20,8 @@ POD = \ perllol.pod \ perlmod.pod \ perlobj.pod \ - perltie.pod \ perlop.pod \ + perlovl.pod \ perlpod.pod \ perlre.pod \ perlref.pod \ @@ -31,13 +30,14 @@ POD = \ perlstyle.pod \ perlsub.pod \ perlsyn.pod \ + perltie.pod \ perltoc.pod \ perltrap.pod \ perlvar.pod \ perlxs.pod \ - perlxstut.pod + perlxstut.pod -MAN = \ +MAN = \ perl.man \ perlbook.man \ perlbot.man \ @@ -54,8 +54,8 @@ MAN = \ perllol.man \ perlmod.man \ perlobj.man \ - perltie.man \ perlop.man \ + perlovl.man \ perlpod.man \ perlre.man \ perlref.man \ @@ -64,13 +64,14 @@ MAN = \ perlstyle.man \ perlsub.man \ perlsyn.man \ + perltie.man \ perltoc.man \ perltrap.man \ perlvar.man \ perlxs.man \ - perlxstut.man + perlxstut.man -HTML = \ +HTML = \ perl.html \ perlbook.html \ perlbot.html \ @@ -87,8 +88,8 @@ HTML = \ perllol.html \ perlmod.html \ perlobj.html \ - perltie.html \ perlop.html \ + perlovl.html \ perlpod.html \ perlre.html \ perlref.html \ @@ -97,13 +98,14 @@ HTML = \ perlstyle.html \ perlsub.html \ perlsyn.html \ + perltie.html \ perltoc.html \ perltrap.html \ perlvar.html \ perlxs.html \ - perlxstut.html + perlxstut.html -TEX = \ +TEX = \ perl.tex \ perlbook.tex \ perlbot.tex \ @@ -120,8 +122,8 @@ TEX = \ perllol.tex \ perlmod.tex \ perlobj.tex \ - perltie.tex \ perlop.tex \ + perlovl.tex \ perlpod.tex \ perlre.tex \ perlref.tex \ @@ -130,6 +132,7 @@ TEX = \ perlstyle.tex \ perlsub.tex \ perlsyn.tex \ + perltie.tex \ perltoc.tex \ perltrap.tex \ perlvar.tex \ @@ -140,40 +143,40 @@ man: pod2man $(MAN) # pod2html normally runs on all the pods at once in order to build up # cross-references. -html: pod2html - $(PERL) pod2html $(POD) +html: pod2html + $(PERL) -I../lib pod2html $(POD) tex: pod2latex $(TEX) -.SUFFIXES: .pm .pod .man +.SUFFIXES: .pm .pod .man .pm.man: pod2man - $(PERL) pod2man $*.pm >$*.man + $(PERL) -I../lib pod2man $*.pm >$*.man .pod.man: pod2man - $(PERL) pod2man $*.pod >$*.man + $(PERL) -I../lib pod2man $*.pod >$*.man .SUFFIXES: .mp .pod .html .pm.html: pod2html - $(PERL) pod2html $*.pod + $(PERL) -I../lib pod2html $*.pod .pod.html: pod2html - $(PERL) pod2html $*.pod + $(PERL) -I../lib pod2html $*.pod .SUFFIXES: .pm .pod .tex .pod.tex: pod2latex - $(PERL) pod2latex $*.pod + $(PERL) -I../lib pod2latex $*.pod .pm.tex: pod2latex - $(PERL) pod2latex $*.pod + $(PERL) -I../lib pod2latex $*.pod clean: rm -f $(MAN) $(HTML) $(TEX) realclean: clean - rm -f pod2man pod2latex pod2html + rm -f $(CONVERTERS) distclean: realclean @@ -186,3 +189,6 @@ pod2html: pod2html.PL ../lib/Config.pm pod2man: pod2man.PL ../lib/Config.pm $(PERL) -I ../lib pod2man.PL + +pod2text: pod2text.PL ../lib/Config.pm + $(PERL) -I ../lib pod2text.PL