>>> "Nadine" == Nadine  <[EMAIL PROTECTED]> 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