Changeset View
Changeset View
Standalone View
Standalone View
head/tools/tools/locale/Makefile
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
.endfor | .endfor | ||||
PASSON+= COLLATIONS_SPECIAL="${COLLATIONS_SPECIAL_ENV}" | PASSON+= COLLATIONS_SPECIAL="${COLLATIONS_SPECIAL_ENV}" | ||||
.if defined(LC) | .if defined(LC) | ||||
LC:= --lc=${LC} | LC:= --lc=${LC} | ||||
.endif | .endif | ||||
all: | all: | ||||
cp ${ETCDIR}/common.UTF-8.src ${CLDRDIR}/posix/xx_Comm_US.UTF-8.src | cp ${ETCDIR}/common.UTF-8.src ${CLDRDIR}/posix/xx_Comm_C.UTF-8.src | ||||
.for t in ${TYPES} | .for t in ${TYPES} | ||||
. if ${KNOWN:M${t}} | . if ${KNOWN:M${t}} | ||||
test -d ${t} || mkdir ${t} | test -d ${t} || mkdir ${t} | ||||
make build-${t} | make build-${t} | ||||
. endif | . endif | ||||
.endfor | .endfor | ||||
@echo "" | @echo "" | ||||
@find . -name *failed | @find . -name *failed | ||||
Show All 34 Lines | |||||
build-colldef: static-colldef | build-colldef: static-colldef | ||||
static-colldef: | static-colldef: | ||||
.for area enc in ${COLLATION_SPECIAL} | .for area enc in ${COLLATION_SPECIAL} | ||||
awk -f tools/extract-colldef.awk ${CLDRDIR}/posix/${area}.${enc}.src > colldef.draft/${area}.${enc}.src | awk -f tools/extract-colldef.awk ${CLDRDIR}/posix/${area}.${enc}.src > colldef.draft/${area}.${enc}.src | ||||
.endfor | .endfor | ||||
transfer-rollup: | transfer-rollup: | ||||
cp ${ETCDIR}/common.UTF-8.src ${CLDRDIR}/posix/xx_Comm_US.UTF-8.src | cp ${ETCDIR}/common.UTF-8.src ${CLDRDIR}/posix/xx_Comm_C.UTF-8.src | ||||
rollup: | rollup: | ||||
perl -I tools tools/utf8-rollup.pl \ | perl -I tools tools/utf8-rollup.pl \ | ||||
--cldr=$$(realpath ${CLDRDIR}) \ | --cldr=$$(realpath ${CLDRDIR}) \ | ||||
--etc=$$(realpath ${ETCDIR}) | --etc=$$(realpath ${ETCDIR}) | ||||
clean: | clean: | ||||
.for t in ${TYPES} | .for t in ${TYPES} | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |