diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2002-10-10 17:37:38 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2002-10-10 17:37:38 +0000 |
commit | fd386946d86f0b0c7733124dac09ff4d564c43e6 (patch) | |
tree | 011b140c8a903d5399ab6fa7c1eecc12dcc6bbae /lib/am/texi-vers.am | |
parent | 6f7799f1bff07511b1b1d3255750ac9d80a079c4 (diff) | |
download | automake-fd386946d86f0b0c7733124dac09ff4d564c43e6.tar.gz |
For PR automake/358:
* lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
configure.ac.
Suggested by Thien-Thi Nguyen.
* lib/am/configure.am ($(srcdir)/configure): Depends on
%CONFIGURE_DEPS%
* automake.in (@configure_deps): New array.
(scan_autoconf_traces): Scan for m4_include and m4_sinclude,
and fill @configure_deps.
(handle_configure): Substitute %CONFIGURE_DEPS%.
Distribute @configure_deps.
* tests/version7.texi: New file.
* tests/vtexi.test: Adjust.
* tests/Makefile.am (TESTS): Add version7.test.
* automake.texi (Dist): Mention that m4_include'd files
are distributed.
Diffstat (limited to 'lib/am/texi-vers.am')
-rw-r--r-- | lib/am/texi-vers.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/am/texi-vers.am b/lib/am/texi-vers.am index cacc4296e..8325c7fca 100644 --- a/lib/am/texi-vers.am +++ b/lib/am/texi-vers.am @@ -26,9 +26,10 @@ DIST_COMMON += %VTEXI% %STAMPVTI% ## discard any %VTEXI% file found in a VPATH seatch. %VTEXI%: %MAINTAINER-MODE% %STAMPVTI% -## Depend on %CONFIGURE-AC% so that version number updates cause a -## rebuild. -%STAMPVTI%: %TEXI% $(top_srcdir)/%CONFIGURE-AC% +## Depend on configure so that version number updates cause a rebuild. +## (Not configure.ac, because not all setups define the version number +## in this file.) +%STAMPVTI%: %TEXI% $(top_srcdir)/configure ## It is wrong to have %STAMPTVTI% dependent on %DIRSTAMP%, because ## %STAMPVTI% is distributed and %DIRSTAMP% isn't: a distributed file ## should never be dependent upon a non-distributed built file. |