automake
[Top][All Lists]
Advanced

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

stamp-vti prerequisites


From: Thien-Thi Nguyen
Subject: stamp-vti prerequisites
Date: 05 Sep 2002 15:00:28 -0400

greetings,

can someone suggest a way to regen stamp-vti based on changes to a
file besides configure.ac?

i see this in am/vers-texi.am:

  ## Depend on %CONFIGURE-AC% so that version number updates cause a
  ## rebuild.
  $(srcdir)/stamp-%VTI%: %TEXI% $(top_srcdir)/%CONFIGURE-AC%

this is fine if version info is kept in configure.ac.  however, in the case
where configure.ac gets version info elsewhere (say, by sourcing VERSION, a
shell script fragment), stamp-vti is not updated correctly.  wouldn't it be
better to just use configure itself as the prerequisite?  that would behave
correctly for both these cases and still fulfill the spirit of the comment.
would that cause problems elsewhere?  could this be changed for next automake
release?

thi




reply via email to

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