diff options
author | Justus Winter <justus@g10code.com> | 2016-07-15 17:20:18 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-07-15 17:24:49 +0200 |
commit | 7f4dd24b880323a5b772719dafae829c288303a8 (patch) | |
tree | 027725dc2f2010f18cf0fb1909dec2b6611b00f9 /tools/Makefile.am | |
parent | wks: Publish as binary file. (diff) | |
download | gnupg2-7f4dd24b880323a5b772719dafae829c288303a8.tar.xz gnupg2-7f4dd24b880323a5b772719dafae829c288303a8.zip |
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 <justus@g10code.com>
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 17 |
1 files changed, 8 insertions, 9 deletions
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) |