From: Roland McGrath Date: Fri, 15 Apr 2005 06:33:59 +0000 (+0000) Subject: 2005-04-14 Roland McGrath X-Git-Tag: cvs/fedora-glibc-2_3-20050718T0425~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=455ad3f6e5cf841142a1136e0632a247d4727fea;p=thirdparty%2Fglibc.git 2005-04-14 Roland McGrath * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well. (extract): Filter-out distinfo file name. [BZ #253] * MakeTAGS (text-srcs): Match %.bash.in files too. --- diff --git a/MakeTAGS b/MakeTAGS index bee41252ee5..fff6851c912 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