Mailing List Archive

[PATCH Libgpg-error] 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>
---
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)

--
2.35.3


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
Re: [PATCH Libgpg-error] build: Fix installation of gpg-error-config.1. [ In reply to ]
Hi,

On Saturday 17 September 2022 16:12:53 CEST Damien Goutte-Gattat via Gnupg-
devel wrote:
> * doc/Makefile.am (myman_pages): Rename man page to gpg-error-config.1
> and only install if gpg-error-config itself is installed.

Thank you very much. I ran into the same problem and Ingo Kloecker pointed out
to me that you had a fix on the ML. I have applied your patch. :)

Best Regards,
Andre

--
GnuPG.com - a brand of g10 Code, the GnuPG experts.

g10 Code GmbH, Erkrath/Germany, AG Wuppertal HRB14459
GF Werner Koch, USt-Id DE215605608, www.g10code.com.

GnuPG e.V., Rochusstr. 44, D-40479 D?sseldorf. VR 11482 D?sseldorf
Vorstand: W.Koch, B.Reiter, A.Heinecke Mail: board@gnupg.org
Finanzamt D-Altstadt, St-Nr: 103/5923/1779. Tel: +49-211-28010702