On Tue, Jun 16, 2009 at 6:08 PM, Vincent Torri<[email protected]> wrote:
>
>
> On Tue, 16 Jun 2009, Vincent Torri wrote:
>> On Tue, 16 Jun 2009, Enlightenment SVN wrote:
>>
>>> Log:
>>>  be explicit about SUBDIRS and DIST_SUBDIRS, fix maintainer-clean.
>>>
>>>  automake was "smart enough" to include in DIST_SUBDIRS even when 'if'
>>>  clause didn't add it to SUBDIRS, that was causing modules like XPM be
>>>  added twice, resulting maintainer-clean to double-clean the directory
>>>  (one from src/modules/loaders and other from src/lib), failing on the
>>>  second time.
>>
>> to be more precise, from automake manual:
>>
>> "If SUBDIRS contains AC_SUBST variables, DIST_SUBDIRS will not be defined
>> correctly because Automake does not know the possible values of these
>> variables. In this case DIST_SUBDIRS needs to be defined manually."
>
> Also:
>
> "If SUBDIRS is defined conditionally using Automake conditionals, Automake
> will define DIST_SUBDIRS automatically from the possible values of SUBDIRS
> in all conditions."
>
> So, instead of adding DIST_SUBDIR, we can use conditionals. If you want, i
> can do that. It's easy.

that was the old way... I did th full DIST_SUBDIR changes to keep it
similar, but you could change cedric's to SUBDIRS+= instead of new
variables and it would work EXCEPT by src/lib/Makefile.am, where they
should NOT be listed in SUBDIRS.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to