summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-08 15:11:46 +0100
committerNicholas Clark <nick@ccl4.org>2011-11-18 11:08:57 +0100
commitb78c1104391671326f93910e06b272bd004e5c31 (patch)
tree8ca2c2fd609878eb5f4680c0123d2ec5185ed9dc /win32
parent6fdb59a5b63742625d027fa1c78f62ce9c9a681e (diff)
downloadperl-b78c1104391671326f93910e06b272bd004e5c31.tar.gz
Create Porting/pod_rules.pl, with all non perltoc.pod code from buildtoc.
pod/buildtoc now only generates pod/perltoc.pod, and only takes a --quiet option. All the other file (re)generation code is now in Porting/pod_rules.pl. This splits functionality which generates a new file at build time from functionality for maintainers, which edits files in place. This permits the unwinding of some of commit 02cc404a20a8a345, which achieved net simplification in pod/buildtoc by merging code paths dealing with new files (only pod/perltoc.pod) and existing files being edited. pod_rules.pl has a --tap option, instead of buildtoc's non-standard --test option, and defaults to --build-all if no arguments are passed. As buildtoc now does one job, it no longer takes a --build-toc option, hence all the Makefiles which call it need updating.
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile2
-rw-r--r--win32/makefile.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile
index c49bfb2355..6b6d4600c3 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -1081,7 +1081,7 @@ utils: $(PERLEXE) $(X2P)
$(PERLEXE) $(ICWD) ..\pod\perlmodlib.pl -q
..\pod\perltoc.pod: $(PERLEXE) Extensions Extensions_nonxs
- $(PERLEXE) -f ..\pod\buildtoc --build-toc -q
+ $(PERLEXE) -f ..\pod\buildtoc -q
# Note that the pod cleanup in this next section is parsed (and regenerated
# by pod/buildtoc so please check that script before making changes here
diff --git a/win32/makefile.mk b/win32/makefile.mk
index a83b3b3cd0..bcead25d03 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1266,7 +1266,7 @@ utils: $(PERLEXE) $(X2P)
$(PERLEXE) $(ICWD) ..\pod\perlmodlib.pl -q
..\pod\perltoc.pod: $(PERLEXE) Extensions Extensions_nonxs
- $(PERLEXE) -f ..\pod\buildtoc --build-toc -q
+ $(PERLEXE) -f ..\pod\buildtoc -q
# Note that the pod cleanup in this next section is parsed (and regenerated
# by pod/buildtoc so please check that script before making changes here