2011-05-30 13:19:29 -06:00
|
|
|
|
2006-11-25 09:33:55 -07:00
|
|
|
x11localedir = $(X11_LOCALEDATADIR)
|
2011-08-27 09:34:14 -06:00
|
|
|
CLEANFILES =
|
|
|
|
SUFFIXES =
|
2011-05-30 13:19:29 -06:00
|
|
|
|
2010-05-18 13:37:28 -06:00
|
|
|
EXTRA_DIST = locale.alias.pre compose.dir.pre locale.dir.pre \
|
2012-03-27 13:19:37 -06:00
|
|
|
compose-check.pl
|
2006-11-25 09:33:55 -07:00
|
|
|
|
|
|
|
x11locale_DATA = locale.alias locale.dir compose.dir
|
|
|
|
|
2011-05-30 13:19:29 -06:00
|
|
|
CLEANFILES += \
|
2006-11-25 09:33:55 -07:00
|
|
|
locale.alias locale.alias.l1 locale.alias.l2 \
|
|
|
|
compose.dir compose.dir.l1 compose.dir.l2 \
|
|
|
|
locale.dir locale.dir.l1 locale.dir.l2 \
|
|
|
|
XLC_LOCALE
|
|
|
|
|
|
|
|
include $(top_srcdir)/cpprules.in
|
|
|
|
|
2011-05-30 13:19:29 -06:00
|
|
|
# Global data files
|
|
|
|
|
2006-11-25 09:33:55 -07:00
|
|
|
locale.alias: locale.alias.pre
|
2010-05-18 13:37:28 -06:00
|
|
|
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.alias.pre | $(CPP_SED_MAGIC) > locale.alias.l1
|
2012-03-27 13:19:37 -06:00
|
|
|
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
2006-11-25 09:33:55 -07:00
|
|
|
< locale.alias.l1 > locale.alias.l2
|
|
|
|
cat locale.alias.l2 locale.alias.l1 > locale.alias
|
|
|
|
|
|
|
|
compose.dir: compose.dir.pre
|
2010-05-18 13:37:28 -06:00
|
|
|
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/compose.dir.pre | $(CPP_SED_MAGIC) > compose.dir.l1
|
2012-03-27 13:19:37 -06:00
|
|
|
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
2006-11-25 09:33:55 -07:00
|
|
|
< compose.dir.l1 > compose.dir.l2
|
|
|
|
cat compose.dir.l2 compose.dir.l1 > compose.dir
|
|
|
|
|
|
|
|
locale.dir: locale.dir.pre
|
2010-05-18 13:37:28 -06:00
|
|
|
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.dir.pre | $(CPP_SED_MAGIC) > locale.dir.l1
|
2012-03-27 13:19:37 -06:00
|
|
|
$(SED) -e '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d' \
|
2006-11-25 09:33:55 -07:00
|
|
|
< locale.dir.l1 > locale.dir.l2
|
|
|
|
cat locale.dir.l2 locale.dir.l1 > locale.dir
|
2011-05-30 13:19:29 -06:00
|
|
|
|
|
|
|
if HAVE_PERL
|
2013-04-28 10:55:55 -06:00
|
|
|
LOG_COMPILER = $(PERL)
|
|
|
|
TESTS = compose-check.pl
|
2011-05-30 13:19:29 -06:00
|
|
|
endif HAVE_PERL
|
|
|
|
|
|
|
|
|
|
|
|
# Per-locale data files
|
|
|
|
|
|
|
|
nobase_dist_x11locale_DATA = $(locales:%=%/XI18N_OBJS)
|
|
|
|
|
|
|
|
nobase_x11locale_DATA = $(locales:%=%/XLC_LOCALE) $(locales:%=%/Compose)
|
|
|
|
EXTRA_DIST += $(nobase_x11locale_DATA:%=%.pre)
|
|
|
|
CLEANFILES += $(nobase_x11locale_DATA)
|
|
|
|
|