From b5043421d2b3ff5999e88808737ff400bf15b0ee Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat via Gnupg-devel Date: Sat, 17 Sep 2022 15:12:53 +0100 Subject: build: Fix installation of gpg-error-config.1. * doc/Makefile.am (myman_pages): Rename man page to gpg-error-config.1 and only install if gpg-error-config itself is installed. -- The man page embedded within doc/gpgrt.texi has recently been renamed from gpgrt-config.1 to gpg-error-config.1, but the Makefile.am was still referring to the old name, resulting in a `make install` failure. Also make the man page installation conditional on --enable-install-gpg-error-config, as there is no point in having the man page if the corresponding tool is not installed. Signed-off-by: Damien Goutte-Gattat --- doc/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 46b4545..db34ba9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -33,7 +33,11 @@ YAT2M_OPTIONS = -I $(srcdir) \ --release "Libgpg-error @PACKAGE_VERSION@" --source "GnuPG" myman_sources = gpgrt.texi -myman_pages = gpgrt-config.1 +if INSTALL_GPG_ERROR_CONFIG +myman_pages = gpg-error-config.1 +else +myman_pages = +endif man_MANS = $(myman_pages) -- cgit v1.2.3