scd: move SCDaemon to libexecdir.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 1 Apr 2013 02:42:11 +0000 (11:42 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 1 Apr 2013 03:03:32 +0000 (12:03 +0900)
* common/homedir.c (gnupg_module_name): It's now libexecdir.
* scd/Makefile.am (libexec_PROGRAMS): Add scdaemon
(bin_PROGRAMS): Remove scdaemon.

common/homedir.c
scd/Makefile.am

index 6d06749..28e5c9a 100644 (file)
@@ -507,7 +507,7 @@ gnupg_module_name (int which)
 #ifdef GNUPG_DEFAULT_SCDAEMON
       return GNUPG_DEFAULT_SCDAEMON;
 #else
-      X(bindir, "scdaemon");
+      X(libexecdir, "scdaemon");
 #endif
 
     case GNUPG_MODULE_NAME_DIRMNGR:
index a0c0369..1af13d0 100644 (file)
 
 EXTRA_DIST = ChangeLog-2011
 
-bin_PROGRAMS = scdaemon
-if ! HAVE_W32_SYSTEM
-libexec_PROGRAMS = gnupg-pcsc-wrapper
+if HAVE_W32_SYSTEM
+libexec_PROGRAMS = scdaemon
+else
+libexec_PROGRAMS = scdaemon gnupg-pcsc-wrapper
 endif
 
 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common