From: Paul Eggert Date: Tue, 29 Oct 2024 20:32:25 +0000 (-0700) Subject: Match Gnulib INSTALL for quoting X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=30ee10e27316102c52d2c0abf3a91ae3f18fe52a;p=thirdparty%2Fautoconf.git Match Gnulib INSTALL for quoting The manual was already using curved single quotes, so we might as well use curved double quotes and en and em dashes too. * doc/local.mk (AM_MAKEINFOFLAGS): Add ASCII_DASHES_AND_QUOTES=0, CHECK_NORMAL_MENU_STRUCTURE=1. * Makefile.am ($(srcdir)/INSTALL): Also use AM_MAKEINFOFLAGS. This matches Gnulib INSTALL’s quoting practice. --- diff --git a/Makefile.am b/Makefile.am index 14a81069..f6f0f583 100644 --- a/Makefile.am +++ b/Makefile.am @@ -74,7 +74,8 @@ OMIT_TRAILING_EMPTY_LINES = '/^$$/H; /^$$/d; x; s/\n//p; s/\n*//; x' $(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi echo @firstparagraphindent insert \ | cat - $(top_srcdir)/doc/install.texi > tmp.texi - $(MAKEINFO) $(custom_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \ + $(MAKEINFO) $(custom_MAKEINFOFLAGS) \ + $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \ --plaintext tmp.texi \ | sed -e $(OMIT_TRAILING_EMPTY_LINES) \ > $@-t && mv $@-t $@ diff --git a/doc/local.mk b/doc/local.mk index 4be44c77..0c3d5a60 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -16,7 +16,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -AM_MAKEINFOFLAGS = --no-split +# ASCII_DASHES_AND_QUOTES=0 is needed for makeinfo versions ≥ 7.1. +# CHECK_NORMAL_MENU_STRUCTURE=1 is needed for makeinfo versions ≥ 6.8. +AM_MAKEINFOFLAGS = --no-split \ + -c ASCII_DASHES_AND_QUOTES=0 \ + -c CHECK_NORMAL_MENU_STRUCTURE=1 TEXI2HTML_FLAGS = -split_chapter TEXINFO_TEX = build-aux/texinfo.tex