-CONVERTERS = pod2html pod2latex pod2man pod2text
+CONVERTERS = pod2html pod2latex pod2man pod2text checkpods
all: $(CONVERTERS) man
PERL = ../miniperl
POD = \
perl.pod \
+ perlapio.pod \
perlbook.pod \
perlbot.pod \
perlcall.pod \
perlform.pod \
perlfunc.pod \
perlguts.pod \
+ perli18n.pod \
perlipc.pod \
perllol.pod \
perlmod.pod \
MAN = \
perl.man \
+ perlapio.man \
perlbook.man \
perlbot.man \
perlcall.man \
perlform.man \
perlfunc.man \
perlguts.man \
+ perli18n.man \
perlipc.man \
perllol.man \
perlmod.man \
HTML = \
perl.html \
+ perlapio.html \
perlbook.html \
perlbot.html \
perlcall.html \
perlform.html \
perlfunc.html \
perlguts.html \
+ perli18n.html \
perlipc.html \
perllol.html \
perlmod.html \
TEX = \
perl.tex \
+ perlapio.tex \
perlbook.tex \
perlbot.tex \
perlcall.tex \
perlform.tex \
perlfunc.tex \
perlguts.tex \
+ perli18n.tex \
perlipc.tex \
perllol.tex \
perlmod.tex \
perlxs.tex \
perlxstut.tex
-man: pod2man ($MAN)
+man: pod2man $(MAN)
# pod2html normally runs on all the pods at once in order to build up
# cross-references.
distclean: realclean
+check: checkpods
+ @echo "checking..."; \
+ $(PERL) -I../lib checkpods $(POD)
+
# Dependencies.
pod2latex: pod2latex.PL ../lib/Config.pm
$(PERL) -I../lib pod2latex.PL
pod2text: pod2text.PL ../lib/Config.pm
$(PERL) -I ../lib pod2text.PL
+
+checkpods: checkpods.PL ../lib/Config.pm
+ $(PERL) -I ../lib checkpods.PL
+
+