yacc header file. From Ralf Corsepius.
1999-03-26 Tom Tromey <tromey@cygnus.com>
+ * 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.
# 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";