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.
This commit is contained in:
Paul Eggert 2024-10-29 13:32:25 -07:00
parent 1a449f4d79
commit 30ee10e273
2 changed files with 7 additions and 2 deletions

View File

@ -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 $@

View File

@ -16,7 +16,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
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