automake
[Top][All Lists]
Advanced

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

Re: $(datadir) and @datadir@


From: Albert Chin
Subject: Re: $(datadir) and @datadir@
Date: Thu, 8 Feb 2007 13:47:53 -0600
User-agent: Mutt/1.5.6i

On Thu, Feb 08, 2007 at 08:13:18PM +0100, Enrico Sardi wrote:
> I've read autoconf and automake manuals but I've not yet fully 
> understand a thing...what's the difference between writing $(datadir) 
> and @datadir@ in a makefile.am?

If you use $(datadir), the user can override it at build time (e.g.
make datadir='<path>'). Not so with @datadir@ where the @datadir@
string is replaced in-place.

-- 
albert chin (address@hidden)




reply via email to

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