perl 5.003_06: t/lib/symbol.t
[p5sagit/p5-mst-13.2.git] / pod / Makefile
index 9cf48eb..564a63a 100644 (file)
@@ -1,11 +1,11 @@
-CONVERTERS = pod2html pod2latex pod2man
+CONVERTERS = pod2html pod2latex pod2man pod2text checkpods
 
 all: $(CONVERTERS) man
+PERL = ../miniperl
 
-#PERL = ../miniperl
-
-POD = \
+POD =  \
        perl.pod        \
+       perlapio.pod    \
        perlbook.pod    \
        perlbot.pod     \
        perlcall.pod    \
@@ -17,12 +17,13 @@ POD = \
        perlform.pod    \
        perlfunc.pod    \
        perlguts.pod    \
+       perli18n.pod    \
        perlipc.pod     \
        perllol.pod     \
        perlmod.pod     \
        perlobj.pod     \
-       perltie.pod     \
        perlop.pod      \
+       perlovl.pod     \
        perlpod.pod     \
        perlre.pod      \
        perlref.pod     \
@@ -31,14 +32,16 @@ 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        \
+       perlapio.man    \
        perlbook.man    \
        perlbot.man     \
        perlcall.man    \
@@ -50,12 +53,13 @@ MAN = \
        perlform.man    \
        perlfunc.man    \
        perlguts.man    \
+       perli18n.man    \
        perlipc.man     \
        perllol.man     \
        perlmod.man     \
        perlobj.man     \
-       perltie.man     \
        perlop.man      \
+       perlovl.man     \
        perlpod.man     \
        perlre.man      \
        perlref.man     \
@@ -64,14 +68,16 @@ 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       \
+       perlapio.html   \
        perlbook.html   \
        perlbot.html    \
        perlcall.html   \
@@ -83,12 +89,13 @@ HTML = \
        perlform.html   \
        perlfunc.html   \
        perlguts.html   \
+       perli18n.html   \
        perlipc.html    \
        perllol.html    \
        perlmod.html    \
        perlobj.html    \
-       perltie.html    \
        perlop.html     \
+       perlovl.html    \
        perlpod.html    \
        perlre.html     \
        perlref.html    \
@@ -97,14 +104,16 @@ 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        \
+       perlapio.tex    \
        perlbook.tex    \
        perlbot.tex     \
        perlcall.tex    \
@@ -116,12 +125,13 @@ TEX = \
        perlform.tex    \
        perlfunc.tex    \
        perlguts.tex    \
+       perli18n.tex    \
        perlipc.tex     \
        perllol.tex     \
        perlmod.tex     \
        perlobj.tex     \
-       perltie.tex     \
        perlop.tex      \
+       perlovl.tex     \
        perlpod.tex     \
        perlre.tex      \
        perlref.tex     \
@@ -130,6 +140,7 @@ TEX = \
        perlstyle.tex   \
        perlsub.tex     \
        perlsyn.tex     \
+       perltie.tex     \
        perltoc.tex     \
        perltrap.tex    \
        perlvar.tex     \
@@ -140,43 +151,47 @@ 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
 
+check: checkpods
+       @echo "checking..."; \
+       $(PERL) -I../lib checkpods $(POD)
+
 # Dependencies.
 pod2latex:     pod2latex.PL ../lib/Config.pm
        $(PERL) -I../lib pod2latex.PL
@@ -186,3 +201,11 @@ 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
+
+checkpods:     checkpods.PL ../lib/Config.pm
+       $(PERL) -I ../lib checkpods.PL
+
+