From 4a5e287468d492744c2d54b63609806017c502f7 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 21 Nov 2002 11:54:11 +0000 Subject: [PATCH] * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule. --- ChangeLog | 2 ++ automake.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 63002eb5..4816f1b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-11-21 Alexandre Duret-Lutz + * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule. + * automake.in (handle_single_transform_list): Don't strip the directory from $full_ansi. This reverts my patch of 2002-10-16. (lang_c_finish): Use the full filename, including the directory, diff --git a/automake.in b/automake.in index 2350b028..d88aa3b9 100755 --- a/automake.in +++ b/automake.in @@ -5618,7 +5618,7 @@ sub lang_c_finish . '| $(ANSI2KNR) > $@' # If ansi2knr fails then we shouldn't # create the _.c file - . " || rm -f ${root}_.c\n"); + . " || rm -f \$\@\n"); push (@objects, $base . '_.$(OBJEXT)'); push (@objects, $base . '_.lo') if variable_defined ('LIBTOOL'); -- 2.43.5