summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-10 17:09:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-10 17:09:42 +0000
commit001465dc1b963f420aece5071db797e2459b57f8 (patch)
tree3e62d1fdc25fdbd327cc8a902df9d5a89d2c487c /Makefile.SH
parent891be0197d5104b86b76c5aeca98d9d8b12deafc (diff)
downloadperl-001465dc1b963f420aece5071db797e2459b57f8.tar.gz
Check the version of byacc.
p4raw-id: //depot/perl@10502
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH5
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