automake
[Top][All Lists]
Advanced

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

Re: Expand shell variable in AC_CONFIG_FILES


From: Alexandre Duret-Lutz
Subject: Re: Expand shell variable in AC_CONFIG_FILES
Date: Wed, 20 Aug 2003 01:43:35 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Nadine" == Nadine  <address@hidden> writes:

 Nadine> Hi all,

 Nadine> I need to have automake (1.7.6) create a Makefile.in in
 Nadine> a directory that changes often. Therefore I introduced
 Nadine> an environment var WORDIR like so: CONFIG_FILES( [
 Nadine> path/${WORKDIR} ] ). Of course this fails as automake
 Nadine> tries to create "path/${WORKDIR}/Makefile.in", 

Does it?  Since Automake cannot find
path/${WORKDIR}/Makefile.am, it shouldn't attempt to create
path/${WORKDIR}/Makefile.in, it should simply ignore the file.

What you could do is this:

* first run "automake" to create Makefile.in's in all static directories
  for which AC_CONFIG_FILES lists a Makefile (this will ignore 
  entries such as path/${WORKDIR}/Makefile)

* then explicitly run "automake path/${WORKDIR}/Makefile" to create 
  the missing Makefile.in

At least you shouldn't have to play a symlink game this way.

[...]
-- 
Alexandre Duret-Lutz





reply via email to

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