diff options
Diffstat (limited to 'MakeTAGS')
-rw-r--r-- | MakeTAGS | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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' $@ |