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

Hi Bruno,

> How can I extend automake (other than submitting a patch and waiting for
> automake-1.10 to be released)?
[...snip...]
> What I want to do is to ship with bison (and similarly, other programs) an
> autoconf macro and an automake extension, so that all packages which use
> bison and a Makefile.am could use the extension by adding a single line to
> their Makefile.am.

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. I'm (still) in the process of updating a few things but you can
see what I'm doing at

http://cvs.sourceforge.net/viewcvs.py/sserver/m4/

and more specifically

http://cvs.sourceforge.net/viewcvs.py/*checkout*/sserver/m4/ax_add_mk_macro.m4

I used ax_add_mk_macro in ax_dist_rpm.m4 so that in my projects I can run

make dist-rpm

to create an rpm distribution.  Using these macros, all I have to add to
the Makefile.am is @INCLUDE_MK@ at the end.

HTH.

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

iD8DBQFCpO0Bw1G4ZUM7KZoRAjD6AKC6WJD+WOlizibi2Z8f6TjSJtIuxACeIVbO
weOI+tR+3fpvvW5ArNyUSvY=
=FqTN
-----END PGP SIGNATURE-----
begin:vcard
fn:Tom Howard
n:Howard;Tom
email;internet:[EMAIL PROTECTED]
tel;work:+61 2 8218 1500
tel;fax:+61 2 8218 1507
tel;cell:+61 402 756685
note;quoted-printable:Public Key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x433B2=
	99A=0D=0A=
	=0D=0A=
	Microsoft Messenger ID: [EMAIL PROTECTED]
	Yahoo! Messenger ID: bjandtomau
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to