diff --git a/data/locale/Makefile.am b/data/locale/Makefile.am index 845a8b4f4..1ba27fe77 100644 --- a/data/locale/Makefile.am +++ b/data/locale/Makefile.am @@ -31,7 +31,7 @@ master.locale=english.locale locals: sort-locals work-locals locals.h locals_intern.h $(master.locale) \ -sort-locals: $(top_srcdir)/data/locale/$(master.locale) +sort-locals: for locale in $(locale); do \ cat $(top_srcdir)/data/locale/$${locale} | LC_ALL=C sort | uniq > $${locale}; \ done