diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-02 00:33:42 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-02 13:01:59 +0100 |
commit | c1a8f56295d9c1621c65de28400cd1d93f037063 (patch) | |
tree | 9d1165382f667ff3de8c8d97f1de29177f49a212 /t/txinfo24.sh | |
parent | 36ee783a1000b5a1e52b81e5564de19ffb99fd37 (diff) | |
download | automake-c1a8f56295d9c1621c65de28400cd1d93f037063.tar.gz |
texi: deprecate hack about info files in CLEANFILES variables
For quite a long time, Automake has been implementing an undocumented
hack which ensured that '.info' files which appeared to be cleaned (by
e.g. being listed in the CLEANFILES or DISTCLEANFILES variables) were
built in the builddir rather than in the srcdir; this hack was introduced
to ensure better backward-compatibility with packages such as Texinfo,
which did things like:
info_TEXINFOS = texinfo.txi info-stnd.texi info.texi
DISTCLEANFILES = texinfo texinfo-* info*.info*
# Do not create info files for distribution.
dist-info:
@:
in order not to distribute .info files.
Now that we have the 'info-in-builddir' option that explicitly causes
generated '.info' files to be placed in the builddir, this hack should
be longer necessary, so we deprecate it with runtime warnings. It is
scheduled to be removed altogether in Automake 1.14.
* automake.in (handle_texinfo_helper): Raise proper runtime warnings
if the hack is triggered.
* NEWS: Update.
* t/txinfo28.sh: Adjust.
* t/txinfo23.sh: Likewise.
* t/txinfo25.sh: Adjust and extend.
* t/txinfo24.sh: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/txinfo24.sh')
-rwxr-xr-x | t/txinfo24.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/txinfo24.sh b/t/txinfo24.sh index bfad312a6..9daa82ec7 100755 --- a/t/txinfo24.sh +++ b/t/txinfo24.sh @@ -41,7 +41,7 @@ Hello walls. END $ACLOCAL -$AUTOMAKE --add-missing +$AUTOMAKE --add-missing -Wno-obsolete $AUTOCONF mkdir build |