summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-09-16 14:40:28 +0000
committerWerner Koch <wk@gnupg.org>2010-09-16 14:40:28 +0000
commitaa2dcca810b395c58c0cbd17d6af8fb29353acd7 (patch)
tree50bde04ae5fb7b907eb6e25704f09424bba30af0 /src
parentfa224c7cf4f22c69b4cb42098d645bbdb971641e (diff)
downloadlibgpg-error-aa2dcca810b395c58c0cbd17d6af8fb29353acd7.tar.gz
Update pl.po.
Updated to gettext 0.1.17 Add a new error code.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am9
-rw-r--r--src/err-codes.h.in3
2 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2295758..518a4c0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -111,7 +111,12 @@ gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c
gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags)
gpg_error_LDADD = ./libgpg-error.la @LTLIBINTL@
-err-sources.h: Makefile mkstrtable.awk err-sources.h.in
+# We build err-sources.h and err-codes.h in the source directory.
+# This is needed because gettext does only look into the source
+# directory to find the files listed in po/POTFILE.in. To make these
+# rules work we also need to depend on Makefile.am and not on the
+# generated files Makefile.in or Makefile.
+$(srcdir)/err-sources.h: Makefile.am mkstrtable.awk err-sources.h.in
$(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \
$(srcdir)/err-sources.h.in >$@
@@ -119,7 +124,7 @@ err-sources-sym.h: Makefile mkstrtable.awk err-sources.h.in
$(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
$(srcdir)/err-sources.h.in >$@
-err-codes.h: Makefile mkstrtable.awk err-codes.h.in
+$(srcdir)/err-codes.h: Makefile.am mkstrtable.awk err-codes.h.in
$(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \
$(srcdir)/err-codes.h.in >$@
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index bc1aed8..092880c 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -214,7 +214,8 @@
182 GPG_ERR_TOO_MANY Too many objects
183 GPG_ERR_LIMIT_REACHED Limit reached
184 GPG_ERR_NOT_INITIALIZED Not initialized
-# 185 to 198 are free to be used.
+185 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate
+# 186 to 198 are free to be used.
199 GPG_ERR_UNFINISHED Operation not yet finished
200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short