Commit 54d792f3 authored by Peter Eisentraut's avatar Peter Eisentraut

Sort compendium lists for msgmerge

That way, the result of a msgmerge is more deterministic and not
dependent on the order in which the files are found.
parent 9099d843
...@@ -120,8 +120,8 @@ init-po: po/$(CATALOG_NAME).pot ...@@ -120,8 +120,8 @@ init-po: po/$(CATALOG_NAME).pot
# For performance reasons, only calculate these when the user actually # For performance reasons, only calculate these when the user actually
# requested update-po or a specific file. # requested update-po or a specific file.
ifneq (,$(filter update-po %.po.new,$(MAKECMDGOALS))) ifneq (,$(filter update-po %.po.new,$(MAKECMDGOALS)))
ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u) ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | LC_ALL=C sort -u)
all_compendia := $(shell find $(top_srcdir) -name '*.po' -print) all_compendia := $(shell find $(top_srcdir) -name '*.po' -print | LC_ALL=C sort)
else else
ALL_LANGUAGES = $(AVAIL_LANGUAGES) ALL_LANGUAGES = $(AVAIL_LANGUAGES)
all_compendia = FORCE all_compendia = FORCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment