Re: [evolution-patches] Use $(API_VERSION) in Makefiles
- From: Rodney Dawes <dobey novell com>
- To: Ross Burton <ross burtonini com>
- Cc: Evolution Patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Use $(API_VERSION) in Makefiles
- Date: Fri, 22 Apr 2005 11:39:20 -0400
Actually automake handles $(foo) as in libfoo-$(foo).la fine. The
problem is that for _SOURCES, etc..., it doesn't handle periods in
the string. This means that for $(API_VERSION), you'd have to create
a variable in configure.(ac|in), that uses $(API_VERSION), and replaces
the . character with the _ character. I think libfoo_$(FOO)_la_SOURCES
will work, if you do that.
-- dobey
On Fri, 2005-04-22 at 15:20 +0100, Ross Burton wrote:
> Hi,
>
> Attached is a patch which removes most of the hard-coded version numbers
> in Makefile.am. Sadly not all of them can go as Automake (as I
> understand it) cannot use $() symbols in target names.
>
> Ross
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]