]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: do not assume AM_MAKEINFOHTMLFLAGS is used in non-html targets
authorMathieu Lirzin <mthl@gnu.org>
Fri, 19 Jan 2018 15:30:32 +0000 (16:30 +0100)
committerMike Frysinger <vapier@gentoo.org>
Wed, 9 Feb 2022 03:44:42 +0000 (22:44 -0500)
commit79d03908e4bf2565102fa9343b011a1d0dde922a
tree9c7bac4b4915f2c72ff146856cd5094d60521851
parent5b99315ce84e59c5b14ed311226348ed8942de25
tests: do not assume AM_MAKEINFOHTMLFLAGS is used in non-html targets

Fixes automake bug https://bugs.gnu.org/30172.

Since AM_MAKEINFOHTMLFLAGS overrides AM_MAKEINFOFLAGS only for html
targets, make sure we restore the hacked up makefile before testing
the non-html formats.  This normally doesn't cause a problem for most
people, but if their tex install doesn't work correctly, texi2dvi will
fallback to running $MAKEINFO and using invalid flags in the process.

* THANKS: Add Mathieu Lirzin.
* t/txinfo-many-output-formats.sh: Restore Makefile.am after testing
html targets.
* t/txinfo-many-output-formats-vpath.sh: Likewise.
THANKS
t/txinfo-many-output-formats-vpath.sh
t/txinfo-many-output-formats.sh