Subject: bug#36921: closed (Re: bug#36921: bug#34201: [PATCH] automake: do not require @setfilename in Texinfo files)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 11 Jan 2025 21:47:02 +0000

Your bug report

#36921: texinfo: @setfilename is not mandatory

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
36921: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36921
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#36921: bug#34201: [PATCH] automake: do not require @setfilename in Texinfo files
From: Karl Berry <[email-masked]>
To: [email-masked]
Date: Sat, 11 Jan 2025 14:45:53 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Subject: texinfo: @setfilename is not mandatory
From: Дилян Палаузов<[email-masked]>
To: [email-masked]
Date: Sun, 04 Aug 2019 13:22:34 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

I have a .texi file and in Makefile.am:

info_TEXINFOS = doc/z.texi

Running autoreconf -visf emits:

configure.ac:13: installing './compile'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
Makefile.am: error: './doc/z.texi' missing @setfilename
autoreconf: automake failed with exit status: 1

I have texinfo (or rather makeinfo) 6.6 and automake 1.16.1 (most likely installed from most recent git).

The texinfo manual says in node @setfilename:

“   When a '@setfilename' line is present, the Texinfo processors ignore
everything written before the '@setfilename' line.  This is why the very
first line of the file (the '\input' line) does not show up in the
output.

. . .
   '@setfilename' used to be required by the Texinfo processors, and
some other programs may still expect it to be present; for example,
Automake (*note (automake)Texinfo::).”

Please adjust automake to come forward, when @setfilename is missing, implying the default value.

Regards
  Dilyan