From a790fae9ba74c917af37a735167fe9e1106f4dd7 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 3 Jan 2013 14:05:31 +0100 Subject: [PATCH] texi: Texinfo sources and CLEANFILES definition should co-exist peacefully But they don't now, due to a regression introduced in commit 'v1.13.1-4-gc1a8f56'. Fix it. The regression was hitting our own build system! * automake.in (handle_texinfo_helper): Only complain if the 'info-in-builddir' is not active and a '.info' file (not any random file!) is listed in CLEANFILES or DISTCLEANFILES. Signed-off-by: Stefano Lattarini --- automake.in | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/automake.in b/automake.in index 53c49757d..e8ba73f94 100644 --- a/automake.in +++ b/automake.in @@ -3139,21 +3139,6 @@ sub handle_texinfo_helper ($) my @f = (); push @f, $d->value_as_list_recursive (inner_expand => 1) if $d; push @f, $c->value_as_list_recursive (inner_expand => 1) if $c; - if (@f && !option 'info-in-builddir') - { - msg 'obsolete', "$am_file.am", <