aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-08-31 18:33:44 +0000
committerWerner Koch <[email protected]>2015-08-31 18:34:00 +0000
commitf0ccce855bd99fca7cfbbcafe3544e3113fedc67 (patch)
tree4ebc7c216547d6a6a9a4cd04c7ddda67c160f177 /src/Makefile.am
parentAdd gpgme_pubkey_algo_string (diff)
downloadgpgme-f0ccce855bd99fca7cfbbcafe3544e3113fedc67.tar.gz
gpgme-f0ccce855bd99fca7cfbbcafe3544e3113fedc67.zip
gpgme-tool: Switch to argparse.c for option parsing.
* src/argparse.c, src/argparse.h: New. Taken from current gnupg. * src/Makefile.am (gpgme_tool_SOURCES): New. * src/gpgme-tool.c: Remove all argp.h stuff. (my_strusage): New. (main): Change to use argparse. -- As a GnuPG related tool the user should get the same experience in option parsing as with gpg et al. Thus we use the same parser. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 58922f90..698c6322 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -128,6 +128,7 @@ endif
AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @QT4_CORE_CFLAGS@
AM_CFLAGS = @LIBASSUAN_CFLAGS@ @GLIB_CFLAGS@ @QT4_CORE_CFLAGS@
+gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h
gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@