From: Nicholas Clark <nick@ccl4.org>
Date: Sat, 13 Jun 2009 12:53:04 +0000 (+0100)
Subject: Eliminate the regen_pods target from pod/Makefile, and references to it.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e2f36ef3d3f4de76635fcfba782b45ccf3fc578;p=p5sagit%2Fp5-mst-13.2.git

Eliminate the regen_pods target from pod/Makefile, and references to it.
---

diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH
index 806bc09..9a52de5 100755
--- a/Cross/Makefile-cross-SH
+++ b/Cross/Makefile-cross-SH
@@ -890,15 +890,12 @@ AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
 		perlapi.h perlapi.c regnodes.h \
 		warnings.h lib/warnings.pm
 
-.PHONY: regen_headers regen_pods regen_all
+.PHONY: regen_headers regen_all
 
 regen regen_headers:	FORCE
 	-perl regen.pl
 
-regen_pods:	FORCE
-	-cd pod; $(LDLIBPTH) $(MAKE) regen_pods
-
-regen_all: regen regen_pods
+regen_all: regen
 
 .PHONY:	manisort manicheck
 
diff --git a/Makefile.SH b/Makefile.SH
index 4afaf88..e39c399 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1112,7 +1112,7 @@ AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
 		perlapi.h perlapi.c regnodes.h \
 		warnings.h lib/warnings.pm
 
-.PHONY: regen_headers regen_pods regen_all
+.PHONY: regen_headers regen_all
 
 regen:	FORCE
 	-perl regen.pl
@@ -1120,10 +1120,7 @@ regen:	FORCE
 regen_headers:	FORCE
 	-perl regen.pl -v
 
-regen_pods:	FORCE
-	-cd pod; $(LDLIBPTH) $(MAKE) regen_pods
-
-regen_all: regen regen_pods
+regen_all: regen
 
 .PHONY:	manisort manicheck
 
diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod
index 4dbbaa1..fa13db6 100644
--- a/Porting/pumpkin.pod
+++ b/Porting/pumpkin.pod
@@ -505,7 +505,8 @@ Note that in the old days, you had to do C<make run_byacc> instead.
 
 =head2 make regen_all
 
-This target takes care of the regen_headers, and regen_pods targets.
+This target takes care of the regen_headers target.
+(It used to also call the regen_pods target, but that has been eliminated.)
 
 =head2 make regen_headers
 
@@ -532,10 +533,6 @@ and effort by manually running C<make regen_headers> myself rather
 than answering all the questions and complaints about the failing
 command.
 
-=head2 make regen_pods
-
-Will run `make regen_pods` in the pod directory for indexing. 
-
 =head2 global.sym, interp.sym and perlio.sym
 
 Make sure these files are up-to-date.  Read the comments in these
diff --git a/pod/Makefile.SH b/pod/Makefile.SH
index 0dd799b..1d53de7 100644
--- a/pod/Makefile.SH
+++ b/pod/Makefile.SH
@@ -71,10 +71,6 @@ all: $(CONVERTERS) man
 
 converters: $(CONVERTERS)
 
-regen_pods: perlmodlib.pod toc
-
-perltoc.pod:	buildtoc
-
 man:	pod2man $(MAN)
 
 html:	pod2html $(HTML)
@@ -151,8 +147,4 @@ podchecker:	podchecker.PL ../lib/Config.pm
 podselect:	podselect.PL ../lib/Config.pm
 	$(PERL) -I ../lib podselect.PL
 
-perlmodlib.pod:	$(PERL) perlmodlib.PL ../MANIFEST
-	rm -f perlmodlib.pod
-	$(PERL) -I ../lib perlmodlib.PL
-
 !NO!SUBS!