From d9bd8067f18a0727fc565930aa7ca2cc57c86877 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 26 Mar 1999 22:44:28 +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 8c1d934..21f4b3d 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 e6eac19..5ad7dbe 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.7.4