From: Tom Tromey Date: Sun, 1 Jun 1997 19:18:16 +0000 (+0000) Subject: ylwrap fix from jim meyering X-Git-Tag: Release-1-2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e5974b3670284fdfeefc13394048f3f5ae337f3;p=thirdparty%2Fautomake.git ylwrap fix from jim meyering --- diff --git a/ChangeLog b/ChangeLog index 3c19828d4..f9ceaaa8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 1 13:16:05 1997 Tom Tromey + + * 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 * automake.in (scan_one_configure_file): Avoid defining ACLOCAL, diff --git a/automake.in b/automake.in index 200a83186..4e92d99ae 100755 --- a/automake.in +++ b/automake.in @@ -965,7 +965,7 @@ sub output_yacc_build_rule 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"; @@ -973,7 +973,7 @@ sub output_yacc_build_rule if ($use_ylwrap) { $output_rules .= ('$(SHELL) $(YLWRAP)' - . ' "$(YACC)" $< y.tab.c $*' . $suffix + . ' "$(YACC)" $< y.tab.c $*' . $c_suffix . ' y.tab.h $*.h -- $(YFLAGS)'); } else