summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-12-04 12:37:12 +0100
committerWerner Koch <wk@gnupg.org>2009-12-04 12:37:12 +0100
commit66a00191200f7be614d5e812f706988a0d65d56c (patch)
tree4ad9b4271b9868a7c7c9e800f9835fa9e6537e6a /common
parentsupport numeric debug levels. (diff)
downloadgnupg2-66a00191200f7be614d5e812f706988a0d65d56c.tar.xz
gnupg2-66a00191200f7be614d5e812f706988a0d65d56c.zip
Fix possible problem with chnages status.h and VBUILDS.
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog5
-rw-r--r--common/Makefile.am8
2 files changed, 11 insertions, 2 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index 60157680d..e2da8a01a 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-04 Werner Koch <wk@g10code.com>
+
+ * Makefile.am (audit-events.h, status-codes.h): Create files in
+ the source dir. Fixes bug#1164.
+
2009-12-02 Werner Koch <wk@g10code.com>
* audit.c (proc_type_decrypt, proc_type_sign): Implemented.
diff --git a/common/Makefile.am b/common/Makefile.am
index 10be46eba..29312c9dc 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -97,16 +97,20 @@ libgpgrl_a_SOURCES = \
gpgrlhelp.c
# Create the audit-events.h include file from audit.h
+# Note: We create the target file in the source directory because it
+# is a distributed built source. If we would not do that we may end
+# up with two files and then it is not clear which version of the
+# files will be picked up.
audit-events.h: Makefile mkstrtable.awk exaudit.awk audit.h
$(AWK) -f $(srcdir)/exaudit.awk $(srcdir)/audit.h \
| $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 -v nogettext=1 \
- -v namespace=eventstr_ >$@
+ -v namespace=eventstr_ > $(srcdir)/$@
# Create the status-codes.h include file from status.h
status-codes.h: Makefile mkstrtable.awk exstatus.awk status.h
$(AWK) -f $(srcdir)/exstatus.awk $(srcdir)/status.h \
| $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 -v nogettext=1 \
- -v namespace=statusstr_ >$@
+ -v namespace=statusstr_ > $(srcdir)/$@
#