On 06/21/2012 12:32 PM, Stefano Lattarini wrote:
> It's so small and dumb that it's easier and cleaner to just inline
> it in the automake script.
>
> * lib/am/libtool.am: Delete.
> * Makefile.am (dist_am_DATA): Remove it.
> * automake.in (handle_libtool): Just add the list of all the '.libs'
> directories to '%libtool_clean_directories', instead of processing the
> now-removed 'libtool.am' to obtain the same effect. Similarly, when
> processing the Makefile in the top-level directory, add 'libtool' and
> 'config.lt' to '%clean_files'.
>
Oops. there was a minor blunder in this patch. I've squashed in the
following diff:
diff --git a/automake.in b/automake.in
index c7ee417..293471d 100644
--- a/automake.in
+++ b/automake.in
@@ -2242,8 +2242,8 @@ sub handle_libtool
if ($relative_dir eq '.')
{
- $clean_dirs{"libtool"} = DIST_CLEAN;
- $clean_dirs{"config.lt"} = DIST_CLEAN;
+ $clean_files{"libtool"} = DIST_CLEAN;
+ $clean_files{"config.lt"} = DIST_CLEAN;
}
}
Sorry for the noise,
Stefano