1 |
Hi, |
2 |
|
3 |
I followed this discussion quietly until now - I wonder why no one (?) has |
4 |
mentioned the autotool-utils.eclass which is dedicated for this purpose (la- |
5 |
file removal, static-libs USE-flag, etc), I think. This eclass also provides a |
6 |
function "remove_libtool_files" which does what "delete_libtool_archives" would |
7 |
do, but it also checks for situation where the files would be needed. |
8 |
|
9 |
On Sunday 31 October 2010 05:28:42 Jorge Manuel B. S. Vicetto wrote: |
10 |
> Hi. |
11 |
> |
12 |
> As outlined in the global email about this issue, this email is to start |
13 |
> a thread about the eutils function. Please reply to this thread if you |
14 |
> have any comments about this point. |
15 |
> |
16 |
> 1. Add a function to eutils to deal with the removal of the .la files. |
17 |
> |
18 |
> delete_libtool_archives() { find "${@:$D}" -name '*.la' -delete } |
19 |
> |
20 |
> That function was suggested by Diego, but Arfrever has argued that we |
21 |
> should replace : with - as '"${@:$D}" expands to a subarray containing |
22 |
> elements starting with element with index $D (where element 0 is $0)'. |
23 |
> The point in having this function in eutils is to ensure we use a |
24 |
> consistent way to address the .la files. This will also make it much |
25 |
> easier to adapt or review this function if needed. |
26 |
|
27 |
Cheers, |
28 |
|
29 |
Christopher |