summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-02 15:12:24 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-05 13:48:30 +0100
commitbf07e08f68b96c7832e17dd5eb4eb32618be88d2 (patch)
tree32b0b9a797062115919ccaa75551c04639b3354d /win32
parent63a8c148fb474631561b77dca8d905d5fce9ab3c (diff)
downloadperl-bf07e08f68b96c7832e17dd5eb4eb32618be88d2.tar.gz
Move pod2latex.PL into its CPAN distribution directory.
Let ExtUtils::MakeMaker deal with running this extraction script, rather than repeating the logic in (at least) 5 places.
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile3
-rw-r--r--win32/Makefile.ce1
-rw-r--r--win32/makefile.mk3
-rw-r--r--win32/pod.mak12
4 files changed, 7 insertions, 12 deletions
diff --git a/win32/Makefile b/win32/Makefile
index ab32dbc00c..a4eae3c44b 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -613,7 +613,6 @@ UTILS = \
..\utils\shasum \
..\utils\instmodsh \
..\pod\pod2html \
- ..\pod\pod2latex \
..\pod\pod2man \
..\pod\pod2text \
..\pod\pod2usage \
@@ -1203,7 +1202,7 @@ distclean: realclean
perlriscos.pod perlsolaris.pod perlsymbian.pod perltoc.pod \
perltru64.pod perltw.pod perluniprops.pod perluts.pod \
perlvmesa.pod perlvos.pod perlwin32.pod \
- pod2html pod2latex pod2man pod2text pod2usage \
+ pod2html pod2man pod2text pod2usage \
podchecker podselect
-cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph pstruct h2xs \
perldoc perlivp dprofpp libnetcfg enc2xs piconv cpan *.bat \
diff --git a/win32/Makefile.ce b/win32/Makefile.ce
index 8283d2e787..f7839830fc 100644
--- a/win32/Makefile.ce
+++ b/win32/Makefile.ce
@@ -669,7 +669,6 @@ EXTENSION_PM = \
POD2HTML = $(PODDIR)\pod2html
POD2MAN = $(PODDIR)\pod2man
-POD2LATEX = $(PODDIR)\pod2latex
POD2TEXT = $(PODDIR)\pod2text
CFG_VARS = \
diff --git a/win32/makefile.mk b/win32/makefile.mk
index a541260753..a48cadefa0 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -777,7 +777,6 @@ UTILS = \
..\utils\shasum \
..\utils\instmodsh \
..\pod\pod2html \
- ..\pod\pod2latex \
..\pod\pod2man \
..\pod\pod2text \
..\pod\pod2usage \
@@ -1567,7 +1566,7 @@ distclean: realclean
perlriscos.pod perlsolaris.pod perlsymbian.pod perltoc.pod \
perltru64.pod perltw.pod perluniprops.pod perluts.pod \
perlvmesa.pod perlvos.pod perlwin32.pod \
- pod2html pod2latex pod2man pod2text pod2usage \
+ pod2html pod2man pod2text pod2usage \
podchecker podselect
-cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph pstruct h2xs \
perldoc perlivp dprofpp libnetcfg enc2xs piconv cpan *.bat \
diff --git a/win32/pod.mak b/win32/pod.mak
index 716fe1dd36..d781e22957 100644
--- a/win32/pod.mak
+++ b/win32/pod.mak
@@ -1,4 +1,4 @@
-CONVERTERS = pod2html pod2latex pod2man pod2text \
+CONVERTERS = pod2html pod2man pod2text \
pod2usage podchecker podselect
HTMLROOT = / # Change this to fix cross-references in HTML
@@ -6,6 +6,7 @@ POD2HTML = pod2html \
--htmlroot=$(HTMLROOT) \
--podroot=.. --podpath=pod:lib:ext:vms \
--libpods=perlfunc:perlguts:perlvar:perlrun:perlop
+POD2LATEX = ../cpan/Pod-LaTeX/pod2latex
all: $(CONVERTERS) html
@@ -588,7 +589,7 @@ man: pod2man $(MAN)
html: pod2html $(HTML)
-tex: pod2latex $(TEX)
+tex: $(POD2LATEX) $(TEX)
toc:
$(PERL) -I../lib buildtoc >perltoc.pod
@@ -614,10 +615,10 @@ toc:
.SUFFIXES: .tex
.pm.tex:
- $(PERL) -I../lib pod2latex $*.pm
+ $(PERL) -I../lib $(POD2LATEX) $*.pm
.pod.tex:
- $(PERL) -I../lib pod2latex $*.pod
+ $(PERL) -I../lib $(POD2LATEX) $*.pod
clean:
rm -f $(MAN)
@@ -636,9 +637,6 @@ check: podchecker
$(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