[RFC libX11 1/2] nls: Factor out the lists of locale files

Mihail Konev k.mvc at ya.ru
Sun Apr 2 17:27:27 UTC 2017


Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
 nls/Makefile.am | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/nls/Makefile.am b/nls/Makefile.am
index 0c544f6cf88f..57665fff4282 100644
--- a/nls/Makefile.am
+++ b/nls/Makefile.am
@@ -44,9 +44,13 @@ endif HAVE_PERL
 
 # Per-locale data files
 
-nobase_dist_x11locale_DATA = $(locales:%=%/XI18N_OBJS)
+XI18N_FILES = $(locales:%=%/XI18N_OBJS)
+COMPOSE_FILES = $(locales:%=%/Compose)
+XLC_FILES = $(locales:%=%/XLC_LOCALE)
+
+nobase_dist_x11locale_DATA = $(XI18N_FILES)
+nobase_x11locale_DATA = $(XLC_FILES) $(COMPOSE_FILES)
 
-nobase_x11locale_DATA = $(locales:%=%/XLC_LOCALE) $(locales:%=%/Compose)
 EXTRA_DIST += $(nobase_x11locale_DATA:%=%.pre)
 CLEANFILES += $(nobase_x11locale_DATA)
 
-- 
2.9.2



More information about the xorg-devel mailing list