From cc4dfdcb898be0ce75174059a1599f5812464887 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 26 Mar 1999 22:44:27 +0000 Subject: [PATCH] * automake.in (lang_yacc_finish): Always use `.h' as suffix for yacc header file. From Ralf Corsepius. --- ChangeLog | 3 +++ automake.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c1d934b..21f4b3dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-03-26 Tom Tromey + * automake.in (lang_yacc_finish): Always use `.h' as suffix for + yacc header file. From Ralf Corsepius. + * Makefile.in: Rebuilt. * Makefile.am: Updated to reflect removal of TAR subst. * automake.texi (Options): Document dist-bzip2. diff --git a/automake.in b/automake.in index e6eac19e..5ad7dbea 100755 --- a/automake.in +++ b/automake.in @@ -4679,7 +4679,7 @@ sub lang_yacc_finish # no way to determine that. FIXME: examine AM_YFLAGS? $file =~ /^(.*)\.(y|yy|y\+\+|yxx|ypp)$/; $base = $1; - ($hname = $2) =~ tr/y/h/; + $hname = '.h'; # Always use `.h' for header file. ($cname = $2) =~ tr/y/c/; $output_rules .= "${base}.${hname}: ${base}.${cname}\n"; -- 2.43.5