about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-01 19:08:30 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-01 19:08:30 +0000
commitd77cd295eb5bde456868eb5d7c71042edaa88151 (patch)
tree009cdfc6bae0fc762f5ac9da7c81dc04f3f599e5 /localedata
parent4a9dcff10ec07770aaf0b4dedaac44eacbbaa110 (diff)
downloadglibc-d77cd295eb5bde456868eb5d7c71042edaa88151.tar.gz
glibc-d77cd295eb5bde456868eb5d7c71042edaa88151.tar.xz
glibc-d77cd295eb5bde456868eb5d7c71042edaa88151.zip
Update.
	* Makefile (repertoiremaps): Remove variable.
	(distribute): Remove repertoiremaps.
	(install-others): Likewise. Add .gz to charmaps.
	($(inst_i18ndir)/charmaps/%): Install in gzipped format.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
Diffstat (limited to 'localedata')
-rw-r--r--localedata/ChangeLog7
-rw-r--r--localedata/Makefile22
2 files changed, 19 insertions, 10 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index fcfac24db9..e979ab4324 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,5 +1,12 @@
 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
 
+	* Makefile (repertoiremaps): Remove variable.
+	(distribute): Remove repertoiremaps.
+	(install-others): Likewise. Add .gz to charmaps.
+	($(inst_i18ndir)/charmaps/%): Install in gzipped format.
+
+2000-09-30  Bruno Haible  <haible@clisp.cons.org>
+
 	* charmaps/ISO-IR-197: Remove alias "none".
 
 2000-09-30  Bruno Haible  <haible@clisp.cons.org>
diff --git a/localedata/Makefile b/localedata/Makefile
index 25ee02d828..ed46db9069 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -31,10 +31,6 @@ charmaps := $(filter-out $(addprefix charmaps/, CVS RCS SCCS %~), \
 locales := $(filter-out $(addprefix locales/, CVS RCS SCCS %~), \
 				    $(wildcard locales/*))
 
-# List of repertoire maps.
-repertoiremaps := $(filter-out $(addprefix repertoiremaps/, CVS RCS SCCS %~), \
-					   $(wildcard repertoiremaps/*))
-
 
 subdir-dirs = tests-mbwc
 vpath %.c tests-mbwc
@@ -64,7 +60,7 @@ generated-dirs := $(ld-test-names) tt_TT de_DE.437			\
 		  $(addprefix tstfmon_,$(fmon-tests))			\
 
 distribute := CHECKSUMS README SUPPORTED ChangeLog			\
-	      $(charmaps) $(locales) $(repertoiremaps)			\
+	      $(charmaps) $(locales)					\
 	      tst-rpmatch.sh tst-locale.sh tst-fmon.sh sort-test.sh	\
 	      tst-fmon.data $(test-input-data) $(ld-test-srcs)		\
 	      th_TH.in cs_CZ.in tst-mbswcs.sh tst-trans.sh tst-ctype.sh \
@@ -98,15 +94,21 @@ tests = $(locale_test_suite) tst-digits
 endif
 
 # Files to install.
-install-others := $(addprefix $(inst_i18ndir)/, $(charmaps) $(locales) \
-						$(repertoiremaps))
+install-others := $(addprefix $(inst_i18ndir)/, \
+			      $(addsuffix .gz, $(charmaps)) \
+			      $(locales))
 
 include ../Rules
 
-# Install the source files in the appropriate directories.
-$(inst_i18ndir)/charmaps/%: charmaps/% $(+force); $(do-install)
+# Install the charmap files in gzipped format.
+$(inst_i18ndir)/charmaps/%.gz: charmaps/% $(+force)
+	$(make-target-directory)
+	rm -f $(@:.gz=) $@
+	$(INSTALL_DATA) $< $(@:.gz=)
+	gzip -9 $(@:.gz=)
+
+# Install the locale source files in the appropriate directory.
 $(inst_i18ndir)/locales/%: locales/% $(+force); $(do-install)
-$(inst_i18ndir)/repertoiremaps/%: repertoiremaps/% $(+force); $(do-install)
 
 # gcc does not know all the format specifiers we are using here.
 CFLAGS-tst-mbswcs1.c = -Wno-format