Wed Nov 26 13:41:57 1997 Tom Tromey <tromey@cygnus.com>
+ * automake.in (output_yacc_build_rule): Don't overwrite .h file in
+ non-ylwrap case.
+
* tags.am (ID): Scan lisp files.
(TAGS): Make tags for lisp files.
}
else
{
- $output_rules .= ('$(YACC) $(YFLAGS) $< && mv y.tab.c $@' . "\n"
+ $output_rules .= ('$(YACC) $(YFLAGS) $< && mv y.tab.c $*'
+ . $c_suffix . "\n"
. "\tif test -f y.tab.h; then \\\n"
. "\tif cmp -s y.tab.h \$*.h; then rm -f y.tab.h; else mv y.tab.h \$*.h; fi; \\\n"
. "\telse :; fi");