diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-09-17 11:05:21 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-09-17 11:05:21 +0000 |
commit | 32930189624e21fbf82dd115bf5a1976f03e4cee (patch) | |
tree | bc212eca74919517b7b4ee864059897096c221a6 /Makefile.in | |
parent | 78f1fe00ae49d2ad46a7bf18edb8ea7947a95cfd (diff) | |
download | neon-32930189624e21fbf82dd115bf5a1976f03e4cee.tar.gz |
* Makefile.in (XGETTEXT_OPTS): Explicitly mark functions taking format strings.
(update-po): Pass --check-format to msgfmt.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@705 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index d005f86..6d8f063 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,7 +47,9 @@ LIBTOOL = @LIBTOOL@ XMLTO = xmlto GCOV = gcov XGETTEXT_OPTS = --keyword=_ --keyword=N_ --msgid-bugs-address=neon@webdav.org \ - --default-domain=neon + --default-domain=neon --flag ne_print_request_header:3:c-format \ + --flag ne_snprintf:3:c-format --flag ne_vsnprintf:3:c-format \ + --flag ne_set_error:2:c-format POTFILE = $(top_srcdir)/po/neon.pot XGETTEXT = xgettext MSGFMT = msgfmt @@ -191,6 +193,7 @@ update-po: @for f in $(LINGUAS); do \ echo "> Updating \"$$f\" catalog:"; \ $(MSGMERGE) --update $(top_srcdir)/po/$$f.po $(POTFILE); \ + $(MSGFMT) --check-format $(top_srcdir)/po/$$f.po || exit 1; \ done compile-gmo: |