Date: Mon, 21 Oct 2019 03:01:05 +0000 (UTC) From: Yuri Pankov <yuripv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353791 - head/tools/tools/locale Message-ID: <201910210301.x9L315Do029392@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuripv Date: Mon Oct 21 03:01:05 2019 New Revision: 353791 URL: https://svnweb.freebsd.org/changeset/base/353791 Log: tools/tools/locale: allow POSIX target to be built in parallel While it's rarely used target, more so a one not used during the buildworld, it helps when it's not taking hours (literally). Modified: head/tools/tools/locale/Makefile Modified: head/tools/tools/locale/Makefile ============================================================================== --- head/tools/tools/locale/Makefile Mon Oct 21 01:27:01 2019 (r353790) +++ head/tools/tools/locale/Makefile Mon Oct 21 03:01:05 2019 (r353791) @@ -143,37 +143,33 @@ ENCODINGS= Big5 \ KOI8-U \ SJIS \ US-ASCII \ - UTF-8 \ + UTF-8 - -POSIX: -.if exists (${UNIDIR}/tools/java/cldr.jar) - mkdir -p ${UNIDIR}/posix -. for area in ${BASE_LOCALES_OF_INTEREST} -. if !exists(${UNIDIR}/posix/${area}.UTF-8.src) +POSIX: posixsrc posixcol posixcm +.if !exists(${UNIDIR}/tools/java/cldr.jar) +.error check README about building cldr.jar +.endif +.for area in ${BASE_LOCALES_OF_INTEREST} +posixsrc: ${UNIDIR}/posix/${area}.UTF-8.src +${UNIDIR}/posix/${area}.UTF-8.src: java -DCLDR_DIR=${UNIDIR:Q} -jar ${UNIDIR}/tools/java/cldr.jar \ org.unicode.cldr.posix.GeneratePOSIX \ -d ${UNIDIR}/posix -m ${area} -c UTF-8 -. endif -. endfor -. for area encoding in ${COLLATION_SPECIAL} -. if !exists(${UNIDIR}/posix/${area}.${encoding}.src) +.endfor +.for area encoding in ${COLLATION_SPECIAL} +posixcol: ${UNIDIR}/posix/${area}.${encoding}.src +${UNIDIR}/posix/${area}.${encoding}.src: java -DCLDR_DIR=${UNIDIR:Q} -jar ${UNIDIR}/tools/java/cldr.jar \ org.unicode.cldr.posix.GeneratePOSIX \ -d ${UNIDIR}/posix -m ${area} -c ${encoding} -. endif -. endfor -. for enc in ${ENCODINGS} -. if !exists(${UNIDIR}/posix/${enc}.cm) +.endfor +.for enc in ${ENCODINGS} +posixcm: ${UNIDIR}/posix/${enc}.cm +${UNIDIR}/posix/${enc}.cm: java -DCLDR_DIR=${UNIDIR:Q} -jar ${UNIDIR}/tools/java/cldr.jar \ org.unicode.cldr.posix.GenerateCharmap \ -d ${UNIDIR}/posix -c ${enc} -. endif -. endfor -.else - @echo "Please install CLDR toolset for the desired release" - @echo "It should go at ${UNIDIR}/tools" -.endif +.endfor clean-POSIX: rm -f ${UNIDIR}/posix/*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910210301.x9L315Do029392>