aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2023-03-01 04:24:54 +0000
committerKyle Evans <kevans@FreeBSD.org>2023-03-01 04:26:44 +0000
commitdc6df546be29a468ae21b1b7604e85b703ad6779 (patch)
treee0621ae8d3624e2362d28b5e66c6e39bf16bfa1e
parent5e54bb1ea9e904075225dc96641c2ede3fc3273c (diff)
downloadsrc-dc6df546be29a468ae21b1b7604e85b703ad6779.tar.gz
src-dc6df546be29a468ae21b1b7604e85b703ad6779.zip
i18n: csmapper: hook up the top-level .src files to the build
The top-level charset.pivot.src may be empty, but the top-level mapper.dir.src is not -- it contains some definitions for supplementary UCS planes. The SMP/SSP definitions aren't actually used at the moment, but the inclusion of the SIP definitions fixes conversions involving JISX0213-1/JISX0213-2 to be possible. Sponsored by: Klara, Inc.
-rw-r--r--share/i18n/csmapper/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/i18n/csmapper/Makefile b/share/i18n/csmapper/Makefile
index 7c6aca31c019..22c6d9014930 100644
--- a/share/i18n/csmapper/Makefile
+++ b/share/i18n/csmapper/Makefile
@@ -10,7 +10,7 @@ SUBDIR_PARALLEL=
mapper.dir: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/mapper.dir.$$i; \
- done); \
+ done; cat ${.CURDIR}/mapper.dir.src); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
mapper.dir.db: mapper.dir
@@ -22,7 +22,7 @@ CLEANFILES+= mapper.dir mapper.dir.db
charset.pivot: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/charset.pivot.$$i; \
- done); \
+ done; cat ${.CURDIR}/charset.pivot.src); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
charset.pivot.pvdb: charset.pivot