This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help: Missing something simple...


"Masterson, David" <David.Masterson@kla-tencor.com> writes:

> Starting from a fresh directory (ie. no configure / Makefile / Makefile.in),
> to generate the Makefile for this, I do:
> 
> 	$ aclocal
> 	$ autoconf
> 	$ automake -a
> 	$ configure --prefix=$TARGET
> 
> Examining the Makefile after this, I find that none of the Automake
> variables were properly expanded (particularly @PACKAGE@ and @VERSION@ -- in
> fact, all uppercase variables).  What am I missing?

autoconf turns ``Makefile.in'' into ``Makefile'' and automake turns
``Makefile.am'' into ``Makefile.in''.  You only start with a ``Makefile.am'',
ergo you must run "automake -a" *before* "autoconf".

Cheers,
        Gary.
-- 
  ___              _   ___   __              _ mailto:gary@oranda.demon.co.uk
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       gary@gnu.org
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                pgp-2 public key:
http://www.oranda.demon.co.uk               http://www.oranda.demon.co.uk/pgp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]