+Sun Jun 1 13:16:05 1997 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (output_yacc_build_rule): Never move y.tab.c over
+ the .h file. From Jim Meyering.
+
Thu May 29 23:16:02 1997 Tom Tromey <tromey@cygnus.com>
* automake.in (scan_one_configure_file): Avoid defining ACLOCAL,
push (@suffixes, $yacc_suffix, $c_suffix, '.h');
# Generate rule for c/c++ and header file. Probably should only
- # do header if `yacc -d' is run.
+ # do header if `yacc -d' is run. But how can we determine that?
foreach $suffix ($c_suffix, '.h')
{
$output_rules .= "$yacc_suffix$suffix:\n\t";
if ($use_ylwrap)
{
$output_rules .= ('$(SHELL) $(YLWRAP)'
- . ' "$(YACC)" $< y.tab.c $*' . $suffix
+ . ' "$(YACC)" $< y.tab.c $*' . $c_suffix
. ' y.tab.h $*.h -- $(YFLAGS)');
}
else