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