On 23 January 2014 11:40, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>>> Couldn't it inherit autotools?>>>>>> It's a handcrafted Makefile, not autotools :(>>>> No problem, it works as well.>>>> The do_configure checks for configure.ac/configure.in and it avoid you>> to handcraft do_install and like.>> The recipes that used such a workaround have all been changed to remote autotools.bbclass over the years, so I'm not sure how encouraged it is.
Personally a recipe should only inherit autotools if it actually uses
autotools. Hand crafted makefiles should mean hand-crafted recipes.
Ross

On Thu, Jan 23, 2014 at 9:47 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 23 January 2014 11:40, Koen Kooi <koen@dominion.thruhere.net> wrote:>>>>> Couldn't it inherit autotools?>>>>>>>> It's a handcrafted Makefile, not autotools :(>>>>>> No problem, it works as well.>>>>>> The do_configure checks for configure.ac/configure.in and it avoid you>>> to handcraft do_install and like.>>>> The recipes that used such a workaround have all been changed to remote autotools.bbclass over the years, so I'm not sure how encouraged it is.>>> Personally a recipe should only inherit autotools if it actually uses> autotools. Hand crafted makefiles should mean hand-crafted recipes.
I will respect your opinions but I see no reason to not use autoconf
if do_configure checks for it.

On 23 January 2014 11:49, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> Personally a recipe should only inherit autotools if it actually uses>> autotools. Hand crafted makefiles should mean hand-crafted recipes.>> I will respect your opinions but I see no reason to not use autoconf> if do_configure checks for it.
Extra build dependencies, extra logic beyond what is needed, the need
to be careful in the future when we can't assume that
autotools.bbclass is used with autotools-using recipes.
Ross

On Thu, Jan 23, 2014 at 9:53 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 23 January 2014 11:49, Otavio Salvador <otavio@ossystems.com.br> wrote:>>> Personally a recipe should only inherit autotools if it actually uses>>> autotools. Hand crafted makefiles should mean hand-crafted recipes.>>>> I will respect your opinions but I see no reason to not use autoconf>> if do_configure checks for it.>> Extra build dependencies, extra logic beyond what is needed, the need> to be careful in the future when we can't assume that> autotools.bbclass is used with autotools-using recipes.
Ok; you won.
heheh