* Makefile.am: Use a local copy of libexecdir along with @PACKAGE@ as
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 12 Feb 2003 05:10:30 +0000 (05:10 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 12 Feb 2003 05:10:30 +0000 (05:10 +0000)
GNUPG_LIBEXECDIR so it can be easily overridden at make time.

g10/ChangeLog
g10/Makefile.am

index 288dd15..42228f9 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-11  David Shaw  <dshaw@jabberwocky.com>
+
+       * Makefile.am: Use a local copy of libexecdir along with @PACKAGE@
+       as GNUPG_LIBEXECDIR so it can be easily overridden at make time.
+
 2003-02-04  David Shaw  <dshaw@jabberwocky.com>
 
        * armor.c (parse_hash_header, armor_filter): Accept the new SHAs
index d84707a..83349d4 100644 (file)
@@ -22,7 +22,9 @@ INCLUDES = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
 EXTRA_DIST = options.skel
 # it seems that we can't use this with automake 1.5
 #OMIT_DEPENDENCIES = zlib.h zconf.h
-LDFLAGS = @LDFLAGS@ 
+LDFLAGS = @LDFLAGS@
+libexecdir = @libexecdir@/@PACKAGE@
+CFLAGS = @CFLAGS@ -DGNUPG_LIBEXECDIR="\"$(libexecdir)\""
 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
 
 #noinst_PROGRAMS = gpgd