From 7f4dd24b880323a5b772719dafae829c288303a8 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 15 Jul 2016 17:20:18 +0200 Subject: build: Always build gpgtar. We use gpgtar to unpack test data, hence we always build it. If the user opts out, we simply don't install it. * configure.ac: Add comment. * tests/migrations/Makefile.am (required_pgms): Make sure gpgtar is built. * tools/Makefile.am: Always build gpgtar, but do not install it if the user used '--disable-gpgtar'. Signed-off-by: Justus Winter --- tools/Makefile.am | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 7bc14568a..bc159d9d3 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -45,12 +45,6 @@ else symcryptrun = endif -if BUILD_GPGTAR - gpgtar = gpgtar -else - gpgtar = -endif - if BUILD_WKS_TOOLS gpg_wks_server = gpg-wks-server gpg_wks_client = gpg-wks-client @@ -63,9 +57,6 @@ bin_PROGRAMS = gpgconf gpg-connect-agent ${symcryptrun} if !HAVE_W32_SYSTEM bin_PROGRAMS += watchgnupg gpgparsemail ${gpg_wks_server} ${gpg_wks_client} endif -if !HAVE_W32CE_SYSTEM -bin_PROGRAMS += ${gpgtar} -endif if !DISABLE_REGEX libexec_PROGRAMS = gpg-check-pattern @@ -75,6 +66,14 @@ if !HAVE_W32CE_SYSTEM noinst_PROGRAMS = clean-sat mk-tdata make-dns-cert gpgsplit endif +if !HAVE_W32CE_SYSTEM +if BUILD_GPGTAR + bin_PROGRAMS += gpgtar +else + noinst_PROGRAMS += gpgtar +endif +endif + common_libs = $(libcommon) commonpth_libs = $(libcommonpth) -- cgit v1.2.3