automake
[Top][All Lists]
Advanced

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

Re: How to extend automake?


From: Tom Howard
Subject: Re: How to extend automake?
Date: Wed, 08 Jun 2005 13:34:32 +1000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bruno,

Bruno Haible wrote:
> Tom Howard wrote:
> 
>>The best way I've found to do this sort of think, is to create an
>>autoconf macro that generates a Makefile fragment and use AC_SUBST_FILE
>>on that.
> 
> 
> Awesome! Terrific! Many many thanks for the hint.

Glad I could help.

> Harald Dunkel wrote:
> 
>>It would be pretty cool if Automake could append this
>>automagically when generating the Makefile.in files.
> 
> 
> How could it know to which Makefile.ins it should append it? There are
> typically several Makefile.ams for one configure.ac.

The only feasible answer is all of them.  This is what I do in my
projects, which means I also need to take extra care to make sure the
Makefile fragments work from any directory in the hierarchy.

Cheers,

- --
Tom Howard

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x433B299A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCpmdIw1G4ZUM7KZoRAg6cAJ0WpxezlofMOd3slWnpNWAObnixsQCgnVga
8xeXtM74UkqKxEXM6VyNUSY=
=uLeQ
-----END PGP SIGNATURE-----




reply via email to

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