summaryrefslogtreecommitdiff
path: root/MakeTAGS
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-15 09:33:04 +0000
committerRoland McGrath <roland@gnu.org>2005-04-15 09:33:04 +0000
commit6183d906dd822337dec18dd1f48209dfd17127bd (patch)
tree23fe554ffcdecf0ae3b5879155c28b17766ea441 /MakeTAGS
parenta19fc30a4be27a24065b9a53b98042b73ff51b69 (diff)
Updated to fedora-glibc-20050415T0909cvs/fedora-glibc-2_3_5-1
Diffstat (limited to 'MakeTAGS')
-rw-r--r--MakeTAGS9
1 files changed, 5 insertions, 4 deletions
diff --git a/MakeTAGS b/MakeTAGS
index bee41252ee..fff6851c91 100644
--- 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,13 @@ 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 - $(XGETTEXTFLAGS-$(@F)) > $@.new \
+ $(filter-out $(objpfx)distinfo,$^)
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