From 9937aa8fdad613b9bb7786cebb3b39e0186001e1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 19 Jul 2017 10:55:44 +0200 Subject: [PATCH] build: Avoid check gpg --version during make distcheck. -- Signed-off-by: Werner Koch --- g10/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/g10/Makefile.am b/g10/Makefile.am index 60e7e11e0..b5e4eded7 100644 --- a/g10/Makefile.am +++ b/g10/Makefile.am @@ -32,7 +32,16 @@ endif needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a other_libs = $(LIBICONV) $(DNSLIBS) $(LIBINTL) $(CAPLIBS) + bin_PROGRAMS = gpg gpgv + +# "make distcheck" runs "gpg --version" which unfortunately may print +# warnings about unsupported options to stderr which make distcheck +# rejects. I am not sure on how to pass the envvar GNUPGHOME to that +# gpg invocation to make sure that a gpg.conf from gnupg 2 is not +# used. The easiest way to avoid that is to not run this extra test. +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = gpg$(EXEEXT) + dist_pkgdata_DATA = options.skel if ENABLE_BZIP2_SUPPORT