]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
don't use $< in non-suffix rules
authorTom Tromey <tromey@redhat.com>
Wed, 6 Aug 1997 02:23:05 +0000 (02:23 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 6 Aug 1997 02:23:05 +0000 (02:23 +0000)
ChangeLog
automake.in

index c2355c1aaf01feec794650114acbc7433a28541d..701f277eebb2599f0260c8a323007857c7a9045d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Tue Aug  5 17:49:54 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (handle_yacc_lex_cxx): Fix for makes which don't
+       allow $< in non-suffix rules.  From Akim Demaille.
+
        * automake.in (value_to_list): If variable name contains configure
        substitution, then just ignore it.
 
index 48793c984d6ae83e4306360f86172587f97661d9..09e978f13d28d1d4e1fff9f9a2901fbbed130e35 100755 (executable)
@@ -921,7 +921,7 @@ sub handle_yacc_lex_cxx
        foreach $base (sort (keys %de_ansi_files))
        {
            $output_rules .= $base . "_.c: $base.c\n\t"
-               . '$(ANSI2KNR) $< ' . $base . "_.c\n";
+               . '$(ANSI2KNR) ' . $base . '.c ' . $base . "_.c\n";
            push (@objects, $base . '_.o');
            push (@objects, $base . '_.lo') if $seen_libtool;
        }