summaryrefslogtreecommitdiff
path: root/MakeTAGS
diff options
context:
space:
mode:
Diffstat (limited to 'MakeTAGS')
-rw-r--r--MakeTAGS5
1 files changed, 3 insertions, 2 deletions
diff --git a/MakeTAGS b/MakeTAGS
index fff6851c91..1ffdd64000 100644
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -146,8 +146,9 @@ 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 tst-%,$(filter-out $(objpfx)distinfo,$^)) /dev/null
mv -f $@.new $@
endef