refactor to use make syntax instead shell/test scripts
PR: 222939
This commit is contained in:
parent
68c9592c28
commit
8737e8fded
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51111
1 changed files with 4 additions and 4 deletions
|
@ -81,11 +81,11 @@ ${PO_LANG}.mo: ${PO_LANG}.po
|
|||
@${MSGFMT} -o ${.TARGET} ${.ALLSRC}
|
||||
|
||||
tran ${DOC}.xml: ${DOC}.translate.xml ${PO_LANG}.mo
|
||||
@if [ "${TRAN_DIR}" = "${EN_DIR}" ]; then \
|
||||
${ECHO} "build translation in a non-English dir" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
.if ${TRAN_DIR} == ${EN_DIR}
|
||||
@${ECHO} "build translation in a non-English dir, ignored"
|
||||
.else
|
||||
${ITSTOOL} -l ${PO_LANG} -m ${PO_LANG}.mo -o ${DOC}.xml ${DOC}.translate.xml
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue