]> sourceware.org Git - glibc.git/blobdiff - MakeTAGS
[BZ #493]
[glibc.git] / MakeTAGS
index bee41252ee5538df38234ec24f2ffd88e8c7a090..1ffdd64000fad19e20aba0f08e9fe1590d90a238 100644 (file)
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -1,5 +1,5 @@
 # Make the TAGS files.
-# Copyright (C) 1992,1994,1995,1996,1998,2002,2003
+# Copyright (C) 1992,1994,1995,1996,1998,2002,2003,2005
 #      Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -146,12 +146,14 @@ endif
 define extract
 @rm -f $@.new
 $(XGETTEXT) --keyword=_ --keyword=N_ --add-comments=TRANS  --sort-by-file \
-           --omit-header -E -n -d - $(XGETTEXTFLAGS-$(@F)) > $@.new $^
+           --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
 
-text-srcs := $(filter %.c %.h %.cc %.C,$(tags_sources))
-$P/$(domain).pot: $(text-srcs)
+text-srcs := $(filter %.c %.h %.cc %.C %.bash.in,$(tags_sources))
+$P/$(domain).pot: $(objpfx)distinfo $(text-srcs)
 ifeq (,$(text-srcs))
        cp /dev/null $@
 else
This page took 0.027962 seconds and 5 git commands to generate.