[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Include directive for all generated

From: Peter Johansson
Subject: Re: Include directive for all generated
Date: Tue, 13 Apr 2010 10:20:40 -0400
User-agent: Thunderbird (X11/20090105)

Hello Xavier,

Xavier MARCELET wrote:
Thanks for the reply, but this is not what I'm looking for.

Lets say that the file "" declares a rule to generate documentation :
doc :
   INPUT=. doxygen doxygen.cfg

Now, I wish to include this rule in every Makefile generated from that are themselves generated from

A simple solution would be to include "" in all as follow :

head -n 1 ./src/
   include $(top_srcdir)/
head -n 1 ./src/tools/
   include $(top_srcdir)/

However, I don't want to add the "include" instruction in the, in fact, I don't want to modify those files at all.

My question is : is there any way to get the same result by modifying another automake's config file, like for instance ?

In my experience using Automake's include mechanism is often the best option because automake takes cares of things like dependencies. If that doesn't suit you, you may have better luck here if you explain why it doesn't suit you; if you explain what you wanna accomplish. It makes it easier for people to help.


Peter Johansson

svndigest maintainer,
yat maintainer,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]