GNU bug report logs - #11146
texinfo: could automake start using the '--tidy' option in its dvi and pdf rules?

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Sun, 1 Apr 2012 12:32:02 UTC

Severity: wishlist

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11146 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: 11146 <at> debbugs.gnu.org
Cc: "automake-patches <at> gnu.org" <automake-patches <at> gnu.org>,
	texinfo-devel <at> gnu.org
Subject: Re: bug#11146: texinfo: could automake start using the '--tidy' option
	in its dvi and pdf rules?
Date: Sun, 01 Apr 2012 22:49:43 +0200
[Message part 1 (text/plain, inline)]
References:
  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11146>
  <http://lists.gnu.org/archive/html/bug-bison/2012-04/msg00002.html>

On 04/01/2012 03:11 PM, Stefano Lattarini wrote:
> On 04/01/2012 02:30 PM, Stefano Lattarini wrote:
>>
>> Most importantly, is the '--tidy' option supported by all recently-ish
>> Texinfo releases, or has it been introduced too recently to mandate its
>> use in Automake-generated recipes?
>>
> I'll answer myself on this, by quoting the Texinfo NEWS file:
> 
>   4.9 (29 June 2007)
>   * GPLv3.
>   * texi2dvi:
>     . new mode --build=tidy which supports compilation in a separate
>       directory, where intermediate files are preserved.
> 
> So the option is almost five years old, and thus old enough to be
> required in Automake 1.12.
>
On a second thought, bumping the requirement is something better done
for Automake 1.13, after having given proper warnings in the NEWS file.
For Automake 1.12, we might simply explicitly add the '--clean' option
to the texi2dvi invocation.

I'll thus apply to two attached patches to master in a couple of days
if there is no objection.

Regards,
  Stefano

[0001-texinfo-don-t-clutter-the-builddir-when-using-modern.patch (text/x-diff, attachment)]
[0002-texinfo-warn-about-future-use-of-tidy.patch (text/x-diff, attachment)]

This bug report was last modified 12 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.