Re: [evolution-patches] Use $(API_VERSION) in Makefiles



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]