diff options
author | Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org> | 2022-09-17 15:12:53 +0100 |
---|---|---|
committer | Andre Heinecke <aheinecke@gnupg.org> | 2022-09-19 16:53:16 +0200 |
commit | b5043421d2b3ff5999e88808737ff400bf15b0ee (patch) | |
tree | 897a8644845ce13bd66cb6f93728df811b279f31 | |
parent | a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da (diff) | |
download | libgpg-error-b5043421d2b3ff5999e88808737ff400bf15b0ee.tar.gz |
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 <dgouttegattat@incenp.org>
-rw-r--r-- | doc/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
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) |