automake
[Top][All Lists]
Advanced

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

Re: $(datadir) and @datadir@


From: Christian Parpart
Subject: Re: $(datadir) and @datadir@
Date: Tue, 13 Feb 2007 12:45:04 +0100
User-agent: KMail/1.9.6

On Thursday 08 February 2007 20:47:53 Albert Chin wrote:
> 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.

there's also a third way: ${datadir} which I can't understand the difference 
of - is there?

christian.

Attachment: pgplBtUlyY9sC.pgp
Description: PGP signature


reply via email to

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