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.
This commit is contained in:
Kyle Evans 2023-02-28 22:24:54 -06:00
parent 5e54bb1ea9
commit dc6df546be

View File

@ -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