summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-04-05 11:18:45 +0200
committerWerner Koch <wk@gnupg.org>2016-04-05 11:18:45 +0200
commit4b5341dc333983a15f649601fdddc42ba9161433 (patch)
tree7a58746b2b4ea72c8dc8964d0acde897e336e5ca /g10
parentgpg: Replace use of "gpg2" by GPG_NAME (diff)
downloadgnupg2-4b5341dc333983a15f649601fdddc42ba9161433.tar.xz
gnupg2-4b5341dc333983a15f649601fdddc42ba9161433.zip
build: Build gpgcompose only in maintainer mode
* g10/Makefile.am (noinst_PROGRAMS): Add gpgcompose only in maintainer mode. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10')
-rw-r--r--g10/Makefile.am2
-rw-r--r--g10/gpgcompose.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/g10/Makefile.am b/g10/Makefile.am
index 1b52e641d..d6fbe920b 100644
--- a/g10/Makefile.am
+++ b/g10/Makefile.am
@@ -49,7 +49,9 @@ noinst_PROGRAMS = gpg
if !HAVE_W32CE_SYSTEM
noinst_PROGRAMS += gpgv
endif
+if MAINTAINER_MODE
noinst_PROGRAMS += gpgcompose $(module_tests)
+endif
TESTS = $(module_tests)
if ENABLE_BZIP2_SUPPORT
diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c
index 7bb0e04bd..d6f030739 100644
--- a/g10/gpgcompose.c
+++ b/g10/gpgcompose.c
@@ -1,4 +1,4 @@
-/* gpgcompose.c - Create OpenPGP messages by hand.
+/* gpgcompose.c - Maintainer tool to create OpenPGP messages by hand.
* Copyright (C) 2016 g10 Code GmbH
*
* This file is part of GnuPG.