CONVERTERS = pod2html pod2latex pod2man pod2text \
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) html
converters: $(CONVERTERS)
PERL = ..\miniperl.exe
REALPERL = ..\perl.exe
ICWD = -I..\cpan\Cwd
POD = \
perl.pod \
perl5004delta.pod \
perl5005delta.pod \
perl5100delta.pod \
perl5101delta.pod \
perl5110delta.pod \
perl5111delta.pod \
perl561delta.pod \
perl56delta.pod \
perl570delta.pod \
perl571delta.pod \
perl572delta.pod \
perl573delta.pod \
perl581delta.pod \
perl582delta.pod \
perl583delta.pod \
perl584delta.pod \
perl585delta.pod \
perl586delta.pod \
perl587delta.pod \
perl588delta.pod \
perl589delta.pod \
perl58delta.pod \
perl590delta.pod \
perl591delta.pod \
perl592delta.pod \
perl593delta.pod \
perl594delta.pod \
perl595delta.pod \
perlapi.pod \
perlapio.pod \
perlartistic.pod \
perlbook.pod \
perlboot.pod \
perlbot.pod \
perlcall.pod \
perlcheat.pod \
perlclib.pod \
perlcommunity.pod \
perlcompile.pod \
perldata.pod \
perldbmfilter.pod \
perldebguts.pod \
perldebtut.pod \
perldebug.pod \
perldelta.pod \
perldiag.pod \
perldoc.pod \
perldsc.pod \
perlebcdic.pod \
perlembed.pod \
perlfaq.pod \
perlfaq1.pod \
perlfaq2.pod \
perlfaq3.pod \
perlfaq4.pod \
perlfaq5.pod \
perlfaq6.pod \
perlfaq7.pod \
perlfaq8.pod \
perlfaq9.pod \
perlfilter.pod \
perlfork.pod \
perlform.pod \
perlfunc.pod \
perlglossary.pod \
perlgpl.pod \
perlguts.pod \
perlhack.pod \
perlhist.pod \
perlintern.pod \
perlintro.pod \
perliol.pod \
perlipc.pod \
perllexwarn.pod \
perllocale.pod \
perllol.pod \
perlmod.pod \
perlmodinstall.pod \
perlmodlib.pod \
perlmodstyle.pod \
perlmroapi.pod \
perlnewmod.pod \
perlnumber.pod \
perlobj.pod \
perlop.pod \
perlopentut.pod \
perlpacktut.pod \
perlperf.pod \
perlpod.pod \
perlpodspec.pod \
perlpolicy.pod \
perlport.pod \
perlpragma.pod \
perlre.pod \
perlreapi.pod \
perlrebackslash.pod \
perlrecharclass.pod \
perlref.pod \
perlreftut.pod \
perlreguts.pod \
perlrepository.pod \
perlrequick.pod \
perlreref.pod \
perlretut.pod \
perlrun.pod \
perlsec.pod \
perlstyle.pod \
perlsub.pod \
perlsyn.pod \
perlthrtut.pod \
perltie.pod \
perltoc.pod \
perltodo.pod \
perltooc.pod \
perltoot.pod \
perltrap.pod \
perlunicode.pod \
perlunifaq.pod \
perluniintro.pod \
perlunitut.pod \
perlutil.pod \
perlvar.pod \
perlvms.pod \
perlxs.pod \
perlxstut.pod
MAN = \
perl.man \
perl5004delta.man \
perl5005delta.man \
perl5100delta.man \
perl5101delta.man \
perl5110delta.man \
perl5111delta.man \
perl561delta.man \
perl56delta.man \
perl570delta.man \
perl571delta.man \
perl572delta.man \
perl573delta.man \
perl581delta.man \
perl582delta.man \
perl583delta.man \
perl584delta.man \
perl585delta.man \
perl586delta.man \
perl587delta.man \
perl588delta.man \
perl589delta.man \
perl58delta.man \
perl590delta.man \
perl591delta.man \
perl592delta.man \
perl593delta.man \
perl594delta.man \
perl595delta.man \
perlapi.man \
perlapio.man \
perlartistic.man \
perlbook.man \
perlboot.man \
perlbot.man \
perlcall.man \
perlcheat.man \
perlclib.man \
perlcommunity.man \
perlcompile.man \
perldata.man \
perldbmfilter.man \
perldebguts.man \
perldebtut.man \
perldebug.man \
perldelta.man \
perldiag.man \
perldoc.man \
perldsc.man \
perlebcdic.man \
perlembed.man \
perlfaq.man \
perlfaq1.man \
perlfaq2.man \
perlfaq3.man \
perlfaq4.man \
perlfaq5.man \
perlfaq6.man \
perlfaq7.man \
perlfaq8.man \
perlfaq9.man \
perlfilter.man \
perlfork.man \
perlform.man \
perlfunc.man \
perlglossary.man \
perlgpl.man \
perlguts.man \
perlhack.man \
perlhist.man \
perlintern.man \
perlintro.man \
perliol.man \
perlipc.man \
perllexwarn.man \
perllocale.man \
perllol.man \
perlmod.man \
perlmodinstall.man \
perlmodlib.man \
perlmodstyle.man \
perlmroapi.man \
perlnewmod.man \
perlnumber.man \
perlobj.man \
perlop.man \
perlopentut.man \
perlpacktut.man \
perlperf.man \
perlpod.man \
perlpodspec.man \
perlpolicy.man \
perlport.man \
perlpragma.man \
perlre.man \
perlreapi.man \
perlrebackslash.man \
perlrecharclass.man \
perlref.man \
perlreftut.man \
perlreguts.man \
perlrepository.man \
perlrequick.man \
perlreref.man \
perlretut.man \
perlrun.man \
perlsec.man \
perlstyle.man \
perlsub.man \
perlsyn.man \
perlthrtut.man \
perltie.man \
perltoc.man \
perltodo.man \
perltooc.man \
perltoot.man \
perltrap.man \
perlunicode.man \
perlunifaq.man \
perluniintro.man \
perlunitut.man \
perlutil.man \
perlvar.man \
perlvms.man \
perlxs.man \
perlxstut.man
HTML = \
perl.html \
perl5004delta.html \
perl5005delta.html \
perl5100delta.html \
perl5101delta.html \
perl5110delta.html \
perl5111delta.html \
perl561delta.html \
perl56delta.html \
perl570delta.html \
perl571delta.html \
perl572delta.html \
perl573delta.html \
perl581delta.html \
perl582delta.html \
perl583delta.html \
perl584delta.html \
perl585delta.html \
perl586delta.html \
perl587delta.html \
perl588delta.html \
perl589delta.html \
perl58delta.html \
perl590delta.html \
perl591delta.html \
perl592delta.html \
perl593delta.html \
perl594delta.html \
perl595delta.html \
perlapi.html \
perlapio.html \
perlartistic.html \
perlbook.html \
perlboot.html \
perlbot.html \
perlcall.html \
perlcheat.html \
perlclib.html \
perlcommunity.html \
perlcompile.html \
perldata.html \
perldbmfilter.html \
perldebguts.html \
perldebtut.html \
perldebug.html \
perldelta.html \
perldiag.html \
perldoc.html \
perldsc.html \
perlebcdic.html \
perlembed.html \
perlfaq.html \
perlfaq1.html \
perlfaq2.html \
perlfaq3.html \
perlfaq4.html \
perlfaq5.html \
perlfaq6.html \
perlfaq7.html \
perlfaq8.html \
perlfaq9.html \
perlfilter.html \
perlfork.html \
perlform.html \
perlfunc.html \
perlglossary.html \
perlgpl.html \
perlguts.html \
perlhack.html \
perlhist.html \
perlintern.html \
perlintro.html \
perliol.html \
perlipc.html \
perllexwarn.html \
perllocale.html \
perllol.html \
perlmod.html \
perlmodinstall.html \
perlmodlib.html \
perlmodstyle.html \
perlmroapi.html \
perlnewmod.html \
perlnumber.html \
perlobj.html \
perlop.html \
perlopentut.html \
perlpacktut.html \
perlperf.html \
perlpod.html \
perlpodspec.html \
perlpolicy.html \
perlport.html \
perlpragma.html \
perlre.html \
perlreapi.html \
perlrebackslash.html \
perlrecharclass.html \
perlref.html \
perlreftut.html \
perlreguts.html \
perlrepository.html \
perlrequick.html \
perlreref.html \
perlretut.html \
perlrun.html \
perlsec.html \
perlstyle.html \
perlsub.html \
perlsyn.html \
perlthrtut.html \
perltie.html \
perltodo.html \
perltooc.html \
perltoot.html \
perltrap.html \
perlunicode.html \
perlunifaq.html \
perluniintro.html \
perlunitut.html \
perlutil.html \
perlvar.html \
perlvms.html \
perlxs.html \
perlxstut.html
# not perltoc.html
TEX = \
perl.tex \
perl5004delta.tex \
perl5005delta.tex \
perl5100delta.tex \
perl5101delta.tex \
perl5110delta.tex \
perl5111delta.tex \
perl561delta.tex \
perl56delta.tex \
perl570delta.tex \
perl571delta.tex \
perl572delta.tex \
perl573delta.tex \
perl581delta.tex \
perl582delta.tex \
perl583delta.tex \
perl584delta.tex \
perl585delta.tex \
perl586delta.tex \
perl587delta.tex \
perl588delta.tex \
perl589delta.tex \
perl58delta.tex \
perl590delta.tex \
perl591delta.tex \
perl592delta.tex \
perl593delta.tex \
perl594delta.tex \
perl595delta.tex \
perlapi.tex \
perlapio.tex \
perlartistic.tex \
perlbook.tex \
perlboot.tex \
perlbot.tex \
perlcall.tex \
perlcheat.tex \
perlclib.tex \
perlcommunity.tex \
perlcompile.tex \
perldata.tex \
perldbmfilter.tex \
perldebguts.tex \
perldebtut.tex \
perldebug.tex \
perldelta.tex \
perldiag.tex \
perldoc.tex \
perldsc.tex \
perlebcdic.tex \
perlembed.tex \
perlfaq.tex \
perlfaq1.tex \
perlfaq2.tex \
perlfaq3.tex \
perlfaq4.tex \
perlfaq5.tex \
perlfaq6.tex \
perlfaq7.tex \
perlfaq8.tex \
perlfaq9.tex \
perlfilter.tex \
perlfork.tex \
perlform.tex \
perlfunc.tex \
perlglossary.tex \
perlgpl.tex \
perlguts.tex \
perlhack.tex \
perlhist.tex \
perlintern.tex \
perlintro.tex \
perliol.tex \
perlipc.tex \
perllexwarn.tex \
perllocale.tex \
perllol.tex \
perlmod.tex \
perlmodinstall.tex \
perlmodlib.tex \
perlmodstyle.tex \
perlmroapi.tex \
perlnewmod.tex \
perlnumber.tex \
perlobj.tex \
perlop.tex \
perlopentut.tex \
perlpacktut.tex \
perlperf.tex \
perlpod.tex \
perlpodspec.tex \
perlpolicy.tex \
perlport.tex \
perlpragma.tex \
perlre.tex \
perlreapi.tex \
perlrebackslash.tex \
perlrecharclass.tex \
perlref.tex \
perlreftut.tex \
perlreguts.tex \
perlrepository.tex \
perlrequick.tex \
perlreref.tex \
perlretut.tex \
perlrun.tex \
perlsec.tex \
perlstyle.tex \
perlsub.tex \
perlsyn.tex \
perlthrtut.tex \
perltie.tex \
perltoc.tex \
perltodo.tex \
perltooc.tex \
perltoot.tex \
perltrap.tex \
perlunicode.tex \
perlunifaq.tex \
perluniintro.tex \
perlunitut.tex \
perlutil.tex \
perlvar.tex \
perlvms.tex \
perlxs.tex \
perlxstut.tex
man: pod2man $(MAN)
html: pod2html $(HTML)
tex: pod2latex $(TEX)
toc:
$(PERL) -I../lib buildtoc >perltoc.pod
.SUFFIXES: .pm .pod
.SUFFIXES: .man
.pm.man:
$(PERL) -I../lib pod2man $*.pm >$*.man
.pod.man:
$(PERL) -I../lib pod2man $*.pod >$*.man
.SUFFIXES: .html
.pm.html:
$(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
.pod.html:
$(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
.SUFFIXES: .tex
.pm.tex:
$(PERL) -I../lib pod2latex $*.pm
.pod.tex:
$(PERL) -I../lib pod2latex $*.pod
clean:
rm -f $(MAN)
rm -f $(HTML)
rm -f $(TEX)
rm -f pod2html-*cache
rm -f *.aux *.log *.exe
realclean: clean
rm -f $(CONVERTERS)
distclean: realclean
check: podchecker
@echo "checking..."; \
$(PERL) -I../lib podchecker $(POD)
# Dependencies.
pod2latex: pod2latex.PL ../lib/Config.pm
$(PERL) -I../lib $(ICWD) pod2latex.PL
pod2html: pod2html.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) pod2html.PL
pod2man: pod2man.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) pod2man.PL
pod2text: pod2text.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) pod2text.PL
pod2usage: pod2usage.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) pod2usage.PL
podchecker: podchecker.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) podchecker.PL
podselect: podselect.PL ../lib/Config.pm
$(PERL) -I ../lib $(ICWD) podselect.PL