* MakeTAGS: Make sure translations in error calls are marked with

c-format by xgettext.
This commit is contained in:
Ulrich Drepper 2005-05-08 07:24:45 +00:00
parent 83c0f41ff0
commit 322e489b53
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-05-08 Ulrich Drepper <drepper@redhat.com>
* MakeTAGS: Make sure translations in error calls are marked with
c-format by xgettext.
2005-05-07 Ulrich Drepper <drepper@redhat.com>
* intl/libintl.h: Always use __attribute_format_arg__ for gettext

View file

@ -146,8 +146,8 @@ endif
define extract
@rm -f $@.new
$(XGETTEXT) --keyword=_ --keyword=N_ --add-comments=TRANS --sort-by-file \
--omit-header -E -n -d - $(XGETTEXTFLAGS-$(@F)) > $@.new \
$(filter-out $(objpfx)distinfo,$^)
--omit-header -E -n -d --flag=error:3:c-format - \
$(XGETTEXTFLAGS-$(@F)) > $@.new $(filter-out $(objpfx)distinfo,$^)
mv -f $@.new $@
endef