Re: How to tell an extra rule to automake

2001-06-07 Thread Tom Tromey
> "Stéphane" == Stéphane Genaud <[EMAIL PROTECTED]> writes: Stéphane> modnam.def : ttimes.f Stéphane> echo " data modnam/'$(datadir)'" > modnam.def Stéphane> and i need this file to be written before the ttimes.f compiles. You have a few choices. One is this: BUILT_SOURCES

Re: How to tell an extra rule to automake

2001-06-07 Thread Tim Van Holder
> The rule is : > > modnam.def : ttimes.f This means 'ttimes.f must be up-to-date in order for this rule, which makes modnam.def up-to-date, to be able to run'. From what you say, this is not what you mean. > echo " data modnam/'$(datadir)'" > modnam.def > > and i need this file t

How to tell an extra rule to automake

2001-06-07 Thread Stéphane Genaud
Hello, i have a very simple problem that i could manage simply wit a Makefile rule, but have been unable to tell automake to handle this. The rule is : modnam.def : ttimes.f echo " data modnam/'$(datadir)'" > modnam.def and i need this file to be written before the ttimes.f comp