* MakeTAGS: Make sure translations in error calls are marked with
authorUlrich Drepper <drepper@redhat.com>
Sun, 8 May 2005 07:24:45 +0000 (07:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 8 May 2005 07:24:45 +0000 (07:24 +0000)
c-format by xgettext.

ChangeLog
MakeTAGS

index beafec6..07e3e99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index fff6851..d0a4008 100644 (file)
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -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