Re: [RFC] recursion: support user-defined recursive targets

2012-07-02 Thread Stefano Lattarini
On 06/30/2012 10:32 PM, Stefano Lattarini wrote: > > I will push the patch by tomorrow if there is no further feedback. > Pushed now. Regards, Stefano

Re: [RFC] recursion: support user-defined recursive targets

2012-06-30 Thread Stefano Lattarini
On 06/30/2012 09:33 PM, Dave Hart wrote: > On Sat, Jun 30, 2012 at 13:16 UTC, Stefano Lattarini wrote: > >> Ah, but the nice thing about this new feature is that you don't need >> to define a 'foo-local' target in each of your Makefiles in order to >> support a recursive 'foo' target! You only hav

Re: [RFC] recursion: support user-defined recursive targets

2012-06-30 Thread Dave Hart
On Sat, Jun 30, 2012 at 13:16 UTC, Stefano Lattarini wrote: > Hi Dave, thanks for the feedback. > > On 06/30/2012 12:54 PM, Dave Hart wrote: >> On Sat, Jun 30, 2012 at 08:56 UTC, Stefano Lattarini wrote: >>> And here is the documentation, basically adapted from the commit message. >>> >>> Comments

Re: [RFC] recursion: support user-defined recursive targets

2012-06-30 Thread Stefano Lattarini
Hi Dave, thanks for the feedback. On 06/30/2012 12:54 PM, Dave Hart wrote: > On Sat, Jun 30, 2012 at 08:56 UTC, Stefano Lattarini wrote: >> And here is the documentation, basically adapted from the commit message. >> >> Comments welcome. >> >> Regards, >> Stefano >> >> -*-*-*- >> >> diff --git a/

Re: [RFC] recursion: support user-defined recursive targets

2012-06-30 Thread Dave Hart
On Sat, Jun 30, 2012 at 08:56 UTC, Stefano Lattarini wrote: > And here is the documentation, basically adapted from the commit message. > > Comments welcome. > > Regards, >  Stefano > > -*-*-*- > > diff --git a/doc/automake.texi b/doc/automake.texi > index 87776b3..2bddc15 100644 > --- a/doc/automa

Re: [RFC] recursion: support user-defined recursive targets

2012-06-30 Thread Stefano Lattarini
On 06/29/2012 07:46 PM, Stefano Lattarini wrote: > The user can now define his own recursive targets that recurse > in the directories specified in $(SUBDIRS). That can be done by > specifying the name of such targets in invocations of the new > 'AM_EXTRA_RECURSIVE_TARGETS' m4 macro. > > The API

[RFC] recursion: support user-defined recursive targets

2012-06-29 Thread Stefano Lattarini
The user can now define his own recursive targets that recurse in the directories specified in $(SUBDIRS). That can be done by specifying the name of such targets in invocations of the new 'AM_EXTRA_RECURSIVE_TARGETS' m4 macro. The API goes like this: $ cat configure.ac AC_INIT([pkg-name