Sort file list when creating gettext-files

That way, the created .pot file is more deterministic and not
dependent on the order in which the files are found.
This commit is contained in:
Peter Eisentraut 2011-12-27 20:20:56 +02:00
parent 7db101c36e
commit 9099d84374
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
write_stderr:1:c-format
gettext-files: distprep
find $(srcdir)/ $(srcdir)/../port/ -name '*.c' -print >$@
find $(srcdir)/ $(srcdir)/../port/ -name '*.c' -print | LC_ALL=C sort >$@
my-clean:
rm -f gettext-files