summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-04-21 10:49:10 +0100
committerNicholas Clark <nick@ccl4.org>2009-04-21 10:49:10 +0100
commit7eb47696deb9a7343fb4847f7342919a6df59e21 (patch)
tree925ae1eda77fb4c05082b68330966c0e71ac5c12 /vms
parentda09dfe31dd61a9d5a3c2d9d69e3d674b6c642ac (diff)
downloadperl-7eb47696deb9a7343fb4847f7342919a6df59e21.tar.gz
Build perltoc.pod, rather than shipping it. This way it can't get out of date.
Diffstat (limited to 'vms')
-rw-r--r--vms/descrip_mms.template9
1 files changed, 7 insertions, 2 deletions
diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template
index 3fe426f4c4..70931ad1c7 100644
--- a/vms/descrip_mms.template
+++ b/vms/descrip_mms.template
@@ -249,6 +249,10 @@ XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes
# in the distribution, so it's OK if this doesn't work; it's here to make
# life easier for those who modify Perl and rebuild it.
INSTPERL = perl
+# Macros to invoke a copy of perl during the build. Targets which
+# are built using these macros should depend on $(PERL_EXE) EXT
+PERL_EXE = Sys$Disk:[]perl$(E)
+PERL = MCR $(PERL_EXE) "-I[.lib]"
# Space-separated list of "static" extensions to build into perlshr (case counts).
MYEXT = DynaLoader
@@ -431,8 +435,8 @@ pod = $(pod0) $(pod1) $(pod2) $(pod3) $(pod4) $(pod5) $(pod6) $(pod7) $(pod8) $(
[.pod]perlapi.pod [.pod]perlintern.pod : miniperl embed.fnc autodoc.pl
$(MINIPERL) -"I[-.lib]" autodoc.pl
-perlpods : $(pod)
- @ $(NOOP)
+[.pod]perltoc.pod: [.pod]perlapi.pod [.pod]perlintern.pod extra.pods $(PERL_EXE) EXT
+ $(PERL) [.pod]perltoc "-q" "--build-toc"
archcorefiles : $(ac) $(ARCHAUTO)time.stamp
@ $(NOOP)
@@ -1855,6 +1859,7 @@ clean : tidy cleantest cleanup_unpacked_files
- If F$Search("[.pod]perlapi.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlapi.pod;*
- If F$Search("[.pod]perldelta.pod").nes."" Then Delete/NoConfirm/Log [.pod]perldelta.pod;*
- If F$Search("[.pod]perlintern.pod").nes."" Then Delete/NoConfirm/Log [.pod]perlintern.pod;*
+ - If F$Search("[.pod]perltoc.pod").nes."" Then Delete/NoConfirm/Log [.pod]perltoc.pod;*
- @extra_pods CLEAN
- If F$Search("unpushed.h").nes."" Then Delete/NoConfirm/Log unpushed.h;*
- If F$Search("[.lib]Config_git.pl").nes."" Then Delete/NoConfirm/Log [.lib]Config_git.pl;*