standard verbose make output.

If you do not like this, use `make -s po'

PR: 222939
This commit is contained in:
Wolfram Schneider 2017-10-12 15:05:42 +00:00
parent 8737e8fded
commit 2ccc12750d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51112

View file

@ -46,13 +46,13 @@ ${DOC}.translate.xml:
@${ECHO} "build PO file in a non-English dir, ignored"
.else
# some SRCS files might need to be generated, make sure they exist
@${MAKE} -C ${EN_DIR} ${MASTER_SRCS} > /dev/null
${MAKE} -C ${EN_DIR} ${MASTER_SRCS} > /dev/null
# normalize the English original into a single file
@${PO_XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC_EN} > ${.TARGET}.tmp
${PO_XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC_EN} > ${.TARGET}.tmp
# remove redundant namespace attributes
@${PO_XMLLINT} --nsclean ${.TARGET}.tmp > ${.TARGET}
@${RM} ${.TARGET}.tmp
@${MAKE} -C ${EN_DIR} clean > /dev/null
${PO_XMLLINT} --nsclean ${.TARGET}.tmp > ${.TARGET}
${RM} ${.TARGET}.tmp
${MAKE} -C ${EN_DIR} clean > /dev/null
.endif
.if ${TRAN_DIR} == ${EN_DIR}
@ -64,7 +64,7 @@ po: ${PO_LANG}.po
.PHONY: po
${PO_LANG}.po: ${DOC}.translate.xml
@${ITSTOOL} -o ${PO_LANG}.po.tmp ${DOC}.translate.xml
${ITSTOOL} -o ${PO_LANG}.po.tmp ${DOC}.translate.xml
.if exists(${PO_LANG}.po)
echo "${PO_LANG}.po exists, merging"
${MSGMERGE} -o ${PO_LANG}.po.new ${PO_LANG}.po ${PO_LANG}.po.tmp
@ -78,7 +78,7 @@ ${PO_LANG}.po: ${DOC}.translate.xml
.endif
${PO_LANG}.mo: ${PO_LANG}.po
@${MSGFMT} -o ${.TARGET} ${.ALLSRC}
${MSGFMT} -o ${.TARGET} ${.ALLSRC}
tran ${DOC}.xml: ${DOC}.translate.xml ${PO_LANG}.mo
.if ${TRAN_DIR} == ${EN_DIR}
@ -88,4 +88,3 @@ tran ${DOC}.xml: ${DOC}.translate.xml ${PO_LANG}.mo
.endif
.endif