diff options
author | Joe Orton <notroj@users.noreply.github.com> | 2005-09-17 11:05:21 +0000 |
---|---|---|
committer | Joe Orton <notroj@users.noreply.github.com> | 2005-09-17 11:05:21 +0000 |
commit | 239320ac575edb719844cdc7bafb48abd0add73a (patch) | |
tree | bc212eca74919517b7b4ee864059897096c221a6 /Makefile.in | |
parent | 3178cacc4d7f184d59ca20e69c018e00e4cb3a2c (diff) | |
download | neon-git-239320ac575edb719844cdc7bafb48abd0add73a.tar.gz |
* Makefile.in (XGETTEXT_OPTS): Explicitly mark functions taking format strings.
(update-po): Pass --check-format to msgfmt.
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: |