summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-15 17:02:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-15 17:02:51 +0000
commite1354ed68ddc3be6c54faf84ceb7c061bc2941c4 (patch)
treecc372643da280b5a8f1a3a3fc1ebbc255c57682f /Makefile.SH
parent6b66af1727d09fb9889253a844f0fb19f8fd63e9 (diff)
downloadperl-e1354ed68ddc3be6c54faf84ceb7c061bc2941c4.tar.gz
fix regen_headers target to make all the autogenerated files
writable first p4raw-id: //depot/perl@5101
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH33
1 files changed, 19 insertions, 14 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 817b6a008a..832893826c 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -588,24 +588,29 @@ SYMH = perlvars.h intrpvar.h thrdvar.h
CHMOD_W = chmod +w
# The following files are generated automatically
-# keywords.h: keywords.pl
-# opcode.h: opcode.pl
-# pp_proto.h: opcode.pl
-# pp.sym: opcode.pl
-# embed.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
-# embedvar.h: embed.pl [* needs pp.sym generated by opcode.pl! *]
-# ext/ByteLoader/byterun.h: bytecode.pl
-# ext/ByteLoader/byterun.c: bytecode.pl
-# ext/B/Asmdata.pm: bytecode.pl
-# global.sym: embed.pl
-# regnodes.h: regcomp.pl
-# warnings.h lib/warnings.pm: warnings.pl
+# keywords.pl: keywords.h
+# opcode.pl: opcode.h opnames.h pp_proto.h pp.sym
+# [* embed.pl needs pp.sym generated by opcode.pl! *]
+# embed.pl: proto.h embed.h embedvar.h global.sym objXSUB.h
+# perlapi.h perlapi.c pod/perlintern.pod
+# pod/perlapi.pod
+# bytecode.pl: ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c
+# ext/B/B/Asmdata.pm
+# regcomp.pl: regnodes.h
+# 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 run, type
+# To force them to be regenerated, type
# make regen_headers
+
+AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h pp.sym embed.h \
+ embedvar.h global.sym pod/perlintern.pod pod/perlapi.pod \
+ objXSUB.h perlapi.h perlapi.c ext/ByteLoader/byterun.h \
+ ext/ByteLoader/byterun.c ext/B/B/Asmdata.pm regnodes.h \
+ warnings.h lib/warnings.pm
+
regen_headers: FORCE
- $(CHMOD_W) proto.h warnings.h lib/warnings.pm
+ $(CHMOD_W) $(AUTOGEN_FILES)
perl keywords.pl
perl opcode.pl
perl embed.pl