summaryrefslogtreecommitdiff
path: root/pod/Makefile.SH
diff options
context:
space:
mode:
Diffstat (limited to 'pod/Makefile.SH')
-rw-r--r--pod/Makefile.SH7
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/Makefile.SH b/pod/Makefile.SH
index ae6262c816..58ce9bea6f 100644
--- a/pod/Makefile.SH
+++ b/pod/Makefile.SH
@@ -64,6 +64,7 @@ POD2HTML = pod2html \
--libpods=perlfunc:perlguts:perlvar:perlrun:perlop
PERL = ../miniperl
+PERLILIB = $(PERL) -I../lib
REALPERL = ../perl
all: $(CONVERTERS) man
@@ -73,7 +74,9 @@ converters: $(CONVERTERS)
regen_pods: perlmodlib.pod toc
buildtoc: buildtoc.PL perl.pod ../MANIFEST
- $(PERL) -I ../lib buildtoc.PL
+ $(PERLILIB) buildtoc.PL
+
+perltoc.pod: buildtoc
man: pod2man $(MAN)
@@ -82,7 +85,7 @@ html: pod2html $(HTML)
tex: pod2latex $(TEX)
toc: buildtoc
- $(PERL) -I../lib buildtoc
+ $(PERLILIB) buildtoc
.SUFFIXES: .pm .pod