[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] texi: info files can be generated in the builddir
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH] texi: info files can be generated in the builddir |
Date: |
Thu, 03 Jan 2013 13:29:05 +0100 |
On 01/02/2013 01:06 PM, Stefano Lattarini wrote:
> And here is the patch deprecating the "CLEANFILES hack". This too is
> for maint, and scheduled to appear in Automake 1.13.2. I will push
> it with together with the patch introducing the new 'info-in-builddir'
> option, tomorrow.
>
> Regards,
> Stefano
>
> ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----
>
> From c1a8f56295d9c1621c65de28400cd1d93f037063 Mon Sep 17 00:00:00 2001
> Message-Id: <address@hidden>
> From: Stefano Lattarini <address@hidden>
> Date: Wed, 2 Jan 2013 00:33:42 +0100
> Subject: [PATCH] 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.
>
Merged into maint. This change will appear in Automake 1.13.2.
Regards,
Stefano