summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2002-10-29 23:00:05 +0000
committerhv <hv@crypt.org>2002-11-19 12:07:25 +0000
commit36bb303b6ac55df9c2780b48d374c505374dc378 (patch)
tree6aa3bf528c2bb5e5d77e72a8f5137a045663734e /Makefile.SH
parent0dae17bd7971d11b90a07b6fc03ec78ab38e4db4 (diff)
downloadperl-36bb303b6ac55df9c2780b48d374c505374dc378.tar.gz
regen_headers outside Makefile (was Re: [PATCH] embed.pl doc)
Message-ID: <20021029230003.GF287@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18160
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 0d4bb3dfa1..cd18ffb49f 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -824,8 +824,10 @@ CHMOD_W = chmod +w
# warnings.pl: warnings.h lib/warnings.pm
# The correct versions should be already supplied with the perl kit,
# in case you don't have perl available.
-# To force them to be regenerated, type
-# make regen_headers
+# To force them to be regenerated, run
+# perl regen_headers.pl
+# with your existing copy of perl
+# (make regen_headers is kept for backwards compatibility)
AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
embed.h embedvar.h global.sym \
@@ -837,14 +839,7 @@ AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym proto.h \
.PHONY: regen_headers regen_pods regen_all
regen_headers: FORCE
- -$(CHMOD_W) $(AUTOGEN_FILES)
- -perl keywords.pl
- -perl opcode.pl
- -perl embed.pl
- -perl bytecode.pl
- -perl regcomp.pl
- -perl warnings.pl
- -perl autodoc.pl
+ -perl regen_headers.pl
regen_pods: FORCE
-cd pod; $(LDLIBPTH) $(MAKE) regen_pods