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.
pgpZkQ2uUnkNR.pgp
Description: PGP signature