diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-02 01:33:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-02 01:33:16 +0000 |
commit | ebb9925428467601f365b797b9f30a0507ef87e1 (patch) | |
tree | 8f15a5d3c40237021126409f551907e58be60c35 | |
parent | aba27d8868c4da5501a93098d949549307dd9a6a (diff) | |
download | perl-ebb9925428467601f365b797b9f30a0507ef87e1.tar.gz |
tweak run_byacc recipe
p4raw-id: //depot/perl@1901
-rw-r--r-- | Makefile.SH | 2 | ||||
-rw-r--r-- | Porting/pumpkin.pod | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH index f925a97ad9..9f489f50b2 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -435,7 +435,7 @@ run_byacc: FORCE sh $(shellflags) ./perly.fixer y.tab.c perly.c sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \ -e 's/y\.tab/perly/g' perly.c >perly.tmp && mv perly.tmp perly.c - echo 'extern YYSTYPE yylval;' >>y.tab.h + sed -e '/^extern YYSTYPE yy/D' y.tab.h >yh.tmp && mv yh.tmp y.tab.h cmp -s y.tab.h perly.h && rm -f y.tab.h || mv y.tab.h perly.h chmod 664 vms/perly_c.vms vms/perly_h.vms perl vms/vms_yfix.pl perly.c perly.h vms/perly_c.vms vms/perly_h.vms diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index f41dfaca1a..f62f753056 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -411,6 +411,9 @@ output statements mean the patch won't apply cleanly. Long ago I started to fix F<perly.fixer> to detect this, but I never completed the task. +If C<perly.c> changes, make sure you run C<perl vms/vms_yfix.pl> to +update the corresponding VMS files. See L<VMS-specific updates>. + Some additional notes from Larry on this: Don't forget to regenerate perly_c.diff. @@ -520,8 +523,8 @@ things that need to be fixed in Configure. =head2 VMS-specific updates -If you have changed F<perly.y>, then you may want to update -F<vms/perly_{h,c}.vms> by running C<perl vms/vms_yfix.pl>. +If you have changed F<perly.y> or F<perly.c>, then you most probably want +to update F<vms/perly_{h,c}.vms> by running C<perl vms/vms_yfix.pl>. The Perl version number appears in several places under F<vms>. It is courteous to update these versions. For example, if you are |