about summary refs log tree commit diff
path: root/MakeTAGS
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-05-20 20:11:09 +0000
committerUlrich Drepper <drepper@redhat.com>2002-05-20 20:11:09 +0000
commit4c393b689f8a9c5e64048b4a4295abedcff6ef8c (patch)
treef14f2c779fc09e30e8168da587b2b2b87caa808a /MakeTAGS
parent3ace764d3a00066d29eae54de25d389ee46d23bd (diff)
downloadglibc-4c393b689f8a9c5e64048b4a4295abedcff6ef8c.tar.gz
glibc-4c393b689f8a9c5e64048b4a4295abedcff6ef8c.tar.xz
glibc-4c393b689f8a9c5e64048b4a4295abedcff6ef8c.zip
Update.
2002-05-16  Bruno Haible  <bruno@clisp.org>

	* MakeTAGS (libc.pot): Don't sort the output.
	* po/header.pot: Update to match xgettext 0.11 output.

2002-05-16  Bruno Haible  <bruno@clisp.org>

	* MakeTAGS (subdirs): Remove duplicates.
Diffstat (limited to 'MakeTAGS')
-rw-r--r--MakeTAGS11
1 files changed, 6 insertions, 5 deletions
diff --git a/MakeTAGS b/MakeTAGS
index 8e7781a192..e96dda48bc 100644
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -62,10 +62,11 @@ all-dirs := $(subdir-dirs) \
 ifndef subdir
 subdirs := $(subdirs) \
 	   $(filter-out $(subdirs),\
-			$(shell sed -e 's/\#.*$$//' \
-				    $(wildcard $(addsuffix /Subdirs,\
-							   $(all-dirs)))\
-				    /dev/null))
+			$(sort \
+			  $(shell sed -e 's/\#.*$$//' \
+				      $(wildcard $(addsuffix /Subdirs,\
+							     $(all-dirs)))\
+				      /dev/null)))
 all-dist = $(foreach Dist,$(wildcard $(all-dirs:%=%/Dist)),\
 		     $(addprefix $(Dist:%/Dist=%)/,\
 				 $(filter %.c %.h %.S %.s,\
@@ -172,7 +173,7 @@ $P/libc.pot: $(all-pot)
 	sed -e 's/VERSION/$(version)/' \
 	    -e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \
 	    po/header.pot > $@.new
-	$(XGETTEXT) -d - --omit-header -n -s $^ >> $@.new
+	$(XGETTEXT) -d - --omit-header -n $^ >> $@.new
 	mv -f $@.new $@
 ifeq ($(with-cvs),yes)
 	test ! -d CVS || cvs $(CVSOPTS) ci -m'Regenerated from source files' $@