[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 13/14] [ng] cleanup: remove 'libtool.am'
From: |
Stefano Lattarini |
Subject: |
Re: [Automake-NG] [PATCH 13/14] [ng] cleanup: remove 'libtool.am' |
Date: |
Thu, 21 Jun 2012 21:51:48 +0200 |
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
- Re: [Automake-NG] [PATCH 10/14] [ng] refactoring: no "cleaning" rules in compile.am, (continued)
- [Automake-NG] [PATCH 12/14] [ng] refactor: prefer '&file_contents' over '&file_contents_internals', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 14/14] [ng] check: keep cleaning of '.log' and '.trs' files near other rules, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 13/14] [ng] cleanup: remove 'libtool.am', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 15/14] [ng] cleanup: remove 'clean-hdr.am', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 16/14] [ng] clean: drop minor DOS-related cruft in libtool support, Stefano Lattarini, 2012/06/21
- [Automake-NG] [RFC] [ng] cleanup: merge '%compile_clean_files' in '%clean_files', Stefano Lattarini, 2012/06/21
- Re: [Automake-NG] [PATCH 00/14] Rework cleaning rules APIs and implementation, Stefano Lattarini, 2012/06/27