diff options
author | Werner Koch <wk@gnupg.org> | 1998-10-12 22:16:38 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-10-12 22:16:38 +0200 |
commit | 8477407e794951c686e3afe1d13035abd0153d9f (patch) | |
tree | a062f99923861fe7c55d5cc2ff3cf04daba8c8e0 /Makefile.am | |
parent | a new release (diff) | |
download | gnupg2-8477407e794951c686e3afe1d13035abd0153d9f.tar.xz gnupg2-8477407e794951c686e3afe1d13035abd0153d9f.zip |
backup
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 138f0d372..49aa43817 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,22 @@ SUBDIRS = intl po zlib util mpi cipher tools g10 doc checks EXTRA_DIST = VERSION PROJECTS +all-am: g10defs.h +all-recursive-am: g10defs.h + + +g10defs.h : config.h + @( set -e; \ + echo "/* Generated automatically by Makefile */" ; \ + echo "#ifdef __MINGW32__"; \ + echo "#define G10_LOCALEDIR \"c:/lib/gnupg/locale\""; \ + echo "#define GNUPG_LIBDIR \"c:/lib/gnupg\""; \ + echo "#else";\ + echo "#define G10_LOCALEDIR \"$(prefix)/$(DATADIRNAME)/locale\""; \ + echo "#define GNUPG_LIBDIR \"$(libdir)/gnupg\""; \ + echo "#endif";\ + ) >g10defs.h + dist-hook: @set -e; \ |