From: Tom Tromey Date: Fri, 26 Mar 1999 22:44:28 +0000 (+0000) Subject: * automake.in (lang_yacc_finish): Always use `.h' as suffix for X-Git-Tag: user-dep-gen-branchpoint~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9bd8067f18a0727fc565930aa7ca2cc57c86877;p=thirdparty%2Fautomake.git * automake.in (lang_yacc_finish): Always use `.h' as suffix for yacc header file. From Ralf Corsepius. --- diff --git a/ChangeLog b/ChangeLog index 8c1d934bf..21f4b3ddb 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 e6eac19e1..5ad7dbeae 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";