# Generate charset maps in etc/charsets.
-# If your system doesn't have the directory /usr/share/i18n/charmaps,
-# get the source of the latest glibc, gzip all the charmap files in
-# the directory "localedate/charmaps", and set the variable
-# GLIBC_CHARMAPS to that directory.
-
SHELL = @SHELL@
AWK = @AWK@
lispintdir = ${top_srcdir}/lisp/international
mapfiledir = ${srcdir}/mapfiles
-GLIBC_CHARMAPS=/usr/share/i18n/charmaps
+GLIBC_CHARMAPS = ${srcdir}/glibc
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AM_V_GEN = $(am__v_GEN_@AM_V@)
CHARSETS = ${ISO8859} ${IBM} ${CODEPAGE} ${CJK} ${MISC} ${MULE}
CHARSETS := $(addprefix ${charsetdir}/,${CHARSETS})
-## Those charsets whose source is not in GLIBC_CHARMAPS.
-LOCAL = MIK.map PTCP154.map stdenc.map symbol.map CP720.map CP858.map \
- JISX213A.map CP932-2BYTE.map JISC6226.map \
- CNS-2.map CNS-3.map CNS-4.map CNS-5.map CNS-6.map CNS-7.map \
- ${MULE}
-LOCAL := $(addprefix ${charsetdir}/,${LOCAL})
-
-
-.PHONY: all local
+.PHONY: all
all: ${CHARSETS} ${TRANS_TABLE}
-local: ${LOCAL} ${lispintdir}/cp51932.el
## Rules for each charset.
${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x/' GLIBC-1 ${compact} > $@
-.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean totalclean
+.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean
clean:
rm -f ${SED_SCRIPT}
## Do not remove these files, even in a bootstrap. They rarely change.
extraclean:
- rm -f ${LOCAL} ${TRANS_TABLE}
-
-totalclean: extraclean
- rm -f ${CHARSETS}
+ rm -f ${CHARSETS} ${TRANS_TABLE}
--- /dev/null
+Files copied from glibc 2.21 source, localedata/charmaps directory.