Re: Recursive targets for the user

2010-08-02 Thread Stefano Lattarini
At Monday 02 August 2010, Ralf Wildenhues wrote: > > > > But would it still recurse in that directory's subdirectories? > > Yes. > > > If yes, > > everything's fine with your approach (even if we could then IMHO > > find a better naming than `*-am' for recusrive rules, but this > > is a minor po

Re: easier nonrecursive makefiles

2010-08-02 Thread Bob Friesenhahn
On Mon, 2 Aug 2010, Bernd Jendrissek wrote: What about taking a cue from nobase_FOOS and having prefixed_nobase1_dist_SOURCES = perl/Foo/Bar.pm \ perl/Foo/Baz.pm I'm deliberately conflating another issue: the all-or-nothing nature of nobase_FOOS. In some source trees, it forces you to have

Re: Recursive targets for the user

2010-08-02 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Aug 02, 2010 at 09:25:46PM CEST: > At Monday 02 August 2010, Ralf Wildenhues wrote: > > > Also, I'd like to have a way to specify a recursive targers which > > > should recurse in a limited set of a projects' subdirectories, > > > and not in all of $(SUBDIRS). Do

Re: Recursive targets for the user

2010-08-02 Thread Stefano Lattarini
At Monday 02 August 2010, Ralf Wildenhues wrote: > Hi Stefano, > > * Stefano Lattarini wrote on Mon, Aug 02, 2010 at 12:10:10PM CEST: > > At Sunday 01 August 2010, Ralf Wildenhues wrote: > > > So, here's the deal: currently, Automake has > > > > > > RECURSIVE_TARGETS > > > RECURSIVE_CLEAN_TAR

Re: Recursive targets for the user

2010-08-02 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Aug 02, 2010 at 12:10:10PM CEST: > At Sunday 01 August 2010, Ralf Wildenhues wrote: > > So, here's the deal: currently, Automake has > > RECURSIVE_TARGETS > > RECURSIVE_CLEAN_TARGETS > > AM_RECURSIVE_TARGETS > Is there any good reason (apart from

Re: easier nonrecursive makefiles

2010-08-02 Thread Bernd Jendrissek
On Mon, Aug 2, 2010 at 1:15 AM, Bob Friesenhahn wrote: > My experience has been that the target names are the biggest chore with a > non-recursive build since it is common to place targets in the same > directory level as the source code.  Providing a short-hand which allows > elimination of foo_b

Re: Recursive targets for the user

2010-08-02 Thread Stefano Lattarini
At Monday 02 August 2010, Bob Friesenhahn wrote: > On Sun, 1 Aug 2010, Bob Friesenhahn wrote: > >> am_RECURSIVE_TARGETS > >> am_RECURSIVE_CLEAN_TARGETS > >> am_ALL_RECURSIVE_TARGETS > > > > I am not using these in my own makefiles, but perhaps someone > > else might be. If there is reason to be

Re: Recursive targets for the user

2010-08-02 Thread Bob Friesenhahn
On Sun, 1 Aug 2010, Bob Friesenhahn wrote: am_RECURSIVE_TARGETS am_RECURSIVE_CLEAN_TARGETS am_ALL_RECURSIVE_TARGETS I am not using these in my own makefiles, but perhaps someone else might be. If there is reason to believe that these variables might currently be used, then there is reason

Re: Recursive targets for the user

2010-08-02 Thread Stefano Lattarini
Hello Ralf. At Sunday 01 August 2010, Ralf Wildenhues wrote: > Somebody suggested to me (was that you, Ludo?) that Automake should > really allow the user to easily add recursive targets. > > This is fairly trivial to implement, the biggest complication is > name calling. > > So, here's the deal