summaryrefslogtreecommitdiff
path: root/pod/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-05 07:32:21 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-05 13:48:40 +0100
commitcde5101a7be11e27127dc4c214d749bb2cc993e6 (patch)
tree2025e59f77db901cb47c4099f3761f2978ce1de3 /pod/Makefile.SH
parentbf07e08f68b96c7832e17dd5eb4eb32618be88d2 (diff)
downloadperl-cde5101a7be11e27127dc4c214d749bb2cc993e6.tar.gz
Move pod2usage.PL, podchecker.PL, podselect.PL into cpan/Pod-Parser/scripts
Let ExtUtils::MakeMaker deal with running these extraction scripts, rather than repeating the logic in (at least) 5 places.
Diffstat (limited to 'pod/Makefile.SH')
-rw-r--r--pod/Makefile.SH17
1 files changed, 4 insertions, 13 deletions
diff --git a/pod/Makefile.SH b/pod/Makefile.SH
index 17d815084c..450b7ab2f4 100644
--- a/pod/Makefile.SH
+++ b/pod/Makefile.SH
@@ -54,8 +54,7 @@ LDLIBPTH = $ldlibpth
## In the following dollars and backticks do not need the extra backslash.
$spitshell >>Makefile <<'!NO!SUBS!'
-CONVERTERS = pod2html pod2man pod2text \
- pod2usage podchecker podselect
+CONVERTERS = pod2html pod2man pod2text
HTMLROOT = / # Change this to fix cross-references in HTML
POD2HTML = pod2html \
@@ -63,6 +62,7 @@ POD2HTML = pod2html \
--podroot=.. --podpath=pod:lib:ext:vms \
--libpods=perlfunc:perlguts:perlvar:perlrun:perlop
POD2LATEX = ../cpan/Pod-LaTeX/pod2latex
+PODCHECKER = ../cpan/Pod-Parser/podchecker
PERL = ../miniperl
PERLILIB = $(PERL) -I../lib
@@ -122,9 +122,9 @@ distclean: realclean
veryclean: distclean
-rm -f *~ *.orig
-check: podchecker
+check: $(PODCHECKER)
@echo "checking..."; \
- $(PERL) -I../lib podchecker $(POD)
+ $(PERL) -I../lib $(PODCHECKER) $(POD)
# Dependencies.
pod2html: pod2html.PL ../lib/Config.pm
@@ -136,13 +136,4 @@ pod2man: pod2man.PL ../lib/Config.pm
pod2text: pod2text.PL ../lib/Config.pm
$(LDLIBPTH) $(PERL) -I ../lib pod2text.PL
-pod2usage: pod2usage.PL ../lib/Config.pm
- $(PERL) -I ../lib pod2usage.PL
-
-podchecker: podchecker.PL ../lib/Config.pm
- $(PERL) -I ../lib podchecker.PL
-
-podselect: podselect.PL ../lib/Config.pm
- $(PERL) -I ../lib podselect.PL
-
!NO!SUBS!