Re: Include directive for all generated Makefile.in

2010-04-15 Thread Steffen Dettmer
On Thu, Apr 15, 2010 at 8:02 AM, Ralf Wildenhues wrote: > * Steffen Dettmer wrote on Wed, Apr 14, 2010 at 11:53:56AM CEST: > > [on this idention level] > > Well, can you give a specific example? I can probably see that > this might be useful, but having a convincing example always > helps. Reall

Re: Include directive for all generated Makefile.in

2010-04-14 Thread Ralf Wildenhues
* Steffen Dettmer wrote on Wed, Apr 14, 2010 at 11:53:56AM CEST: > On Wed, Apr 14, 2010 at 7:53 AM, Ralf Wildenhues > wrote: > > > would it be a potential possibility instead to `overwrite and > > > specialize' some macro? > > > > With "some macro", you mean "some prepended or appended makefile.a

Re: Include directive for all generated Makefile.in

2010-04-14 Thread Steffen Dettmer
On Wed, Apr 14, 2010 at 7:53 AM, Ralf Wildenhues wrote: > > would it be a potential possibility instead to `overwrite and > > specialize' some macro? > > With "some macro", you mean "some prepended or appended makefile.am > snippet" here, right? > > Well, my idea of the above would be that if you

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Ralf Wildenhues
* Steffen Dettmer wrote on Tue, Apr 13, 2010 at 10:14:54PM CEST: > On Tue, Apr 13, 2010 at 7:53 PM, Ralf Wildenhues > wrote: > > * Xavier MARCELET wrote on Tue, Apr 13, 2010 at 09:38:36AM CEST: > > For example, we could have a couple of macros > > > > # AM_MAKEFILE_PREPEND([FRAGMENT], [SUBDIR-PAT

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Steffen Dettmer
On Tue, Apr 13, 2010 at 7:53 PM, Ralf Wildenhues wrote: > * Xavier MARCELET wrote on Tue, Apr 13, 2010 at 09:38:36AM CEST: > For example, we could have a couple of macros > > # AM_MAKEFILE_PREPEND([FRAGMENT], [SUBDIR-PATTERN]) > # - > # Prepend FRAGM

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Ralf Wildenhues
* Xavier MARCELET wrote on Tue, Apr 13, 2010 at 09:38:36AM CEST: > Lets say that the file "my_include.am" declares a rule to generate > documentation : > $cat my_include.am > doc : >INPUT=. doxygen doxygen.cfg > > Now, I wish to include this rule in every Makefile generated from > Makefile.in

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Peter Johansson
Hello Xavier, Xavier MARCELET wrote: Thanks for the reply, but this is not what I'm looking for. Lets say that the file "my_include.am" declares a rule to generate documentation : $cat my_include.am doc : INPUT=. doxygen doxygen.cfg Now, I wish to include this rule in every Makefile gener

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Steffen Dettmer
> Now, I wish to include this rule in every Makefile generated from > Makefile.in that are themselves generated from Makefile.am. ... > However, I don't want to add the "include" instruction in the Makefile.am, > in fact, I don't want to modify those files at all. > > My question is : is there any

Re: Include directive for all generated Makefile.in

2010-04-13 Thread Xavier MARCELET
Ralf Wildenhues wrote: Hello Xavier, * Xavier MARCELET wrote on Mon, Apr 12, 2010 at 03:58:33PM CEST: I have an include file (named 'my_include.am') that I want to append in all the Makefile.in of my project as if it was included in all my Makefile.am. I don't want to edit all the makefile.a

Re: Include directive for all generated Makefile.in

2010-04-12 Thread Ralf Wildenhues
Hello Xavier, * Xavier MARCELET wrote on Mon, Apr 12, 2010 at 03:58:33PM CEST: > I have an include file (named 'my_include.am') that I want to append > in all the Makefile.in of my project > as if it was included in all my Makefile.am. > I don't want to edit all the makefile.am files (even through

Include directive for all generated Makefile.in

2010-04-12 Thread Xavier MARCELET
Hi, I have an include file (named 'my_include.am') that I want to append in all the Makefile.in of my project as if it was included in all my Makefile.am. I don't want to edit all the makefile.am files (even through a script) Is there any simple way to do that ? Thx, -- Xavier MARCELET