summaryrefslogtreecommitdiff
path: root/localedef
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-01-09 23:54:11 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-01-09 23:54:11 +0000
commite140c347e4c89f653102e03db2c06f9d292c689b (patch)
treecfc8a8080bda8c791701de9d6ae742ebcad91608 /localedef
parentb5d90b7fd446bce087fb9fe4a140c4347d706ba4 (diff)
ChangeLog.eglibc:
2006-12-26 Jim Blandy <jimb@codesourcery.com> * Makefile.in: Include option-groups.mak from glibc. Trim locale list if OPTION_EGLIBC_LOCALES is not enabled. git-svn-id: svn://svn.eglibc.org/trunk@1151 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'localedef')
-rw-r--r--localedef/ChangeLog.eglibc5
-rw-r--r--localedef/Makefile.in14
2 files changed, 19 insertions, 0 deletions
diff --git a/localedef/ChangeLog.eglibc b/localedef/ChangeLog.eglibc
index 4965924b7..26ec79ae2 100644
--- a/localedef/ChangeLog.eglibc
+++ b/localedef/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2006-12-26 Jim Blandy <jimb@codesourcery.com>
+
+ * Makefile.in: Include option-groups.mak from glibc. Trim
+ locale list if OPTION_EGLIBC_LOCALES is not enabled.
+
2006-09-07 Richard Sandiford <richard@codesourcery.com>
Initial commit.
diff --git a/localedef/Makefile.in b/localedef/Makefile.in
index bb192e219..5fecb9d60 100644
--- a/localedef/Makefile.in
+++ b/localedef/Makefile.in
@@ -118,8 +118,22 @@ vasprintf.o: $(srcdir)/vasprintf.c
#----------------------------------------------------------------------------
# Based on localedata/Makefile
#----------------------------------------------------------------------------
+.. = glibc/
+
+# Get EGLIBC's option group variable definitions. By default, this
+# will look for an 'option-groups.config' file in localedef's top
+# build directory. If you are using a single localedef build tree
+# with several different option group configurations, set
+# option_group_config_file on the make command line to the name of the
+# option group config file to use.
+include glibc/option-groups.mak
include glibc/localedata/SUPPORTED
+# Only install locale data if OPTION_EGLIBC_LOCALES is selected.
+ifneq ($(OPTION_EGLIBC_LOCALES),y)
+SUPPORTED-LOCALES :=
+endif
+
INSTALL-SUPPORTED-LOCALES=$(addprefix install-, $(SUPPORTED-LOCALES))
LOCALEDEF=\