diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-10 17:09:42 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-10 17:09:42 +0000 |
commit | 001465dc1b963f420aece5071db797e2459b57f8 (patch) | |
tree | 3e62d1fdc25fdbd327cc8a902df9d5a89d2c487c /Makefile.SH | |
parent | 891be0197d5104b86b76c5aeca98d9d8b12deafc (diff) | |
download | perl-001465dc1b963f420aece5071db797e2459b57f8.tar.gz |
Check the version of byacc.
p4raw-id: //depot/perl@10502
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH index 9ba53130c0..29f614280f 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -676,7 +676,10 @@ install.html: all installhtml # to run with precisely the same version of byacc as I use. You # normally shouldn't remake perly.[ch]. -run_byacc: FORCE +check_byacc: + @$(BYACC) -V 2>&1 | grep 'version 1\.8\.2' + +run_byacc: FORCE check_byacc $(BYACC) -d perly.y -chmod 664 perly.c perly.h sh $(shellflags) ./perly.fixer y.tab.c perly.c |