Make the normalized translation file depend on all the SRCS of the

English original document.

Reviewed by:	rene
This commit is contained in:
Warren Block 2015-10-28 00:53:13 +00:00
parent 24eddf49b8
commit 0a4ab32374
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47692

View file

@ -287,7 +287,11 @@ POSET_CMD= ${SED} -i '' -e '1s,^,\#$$FreeBSD$$\${.newline},' \
-e 's,^\"Content-Type: text/plain; charset=.*\\n,\"Content-Type: text/plain; charset=${PO_CHARSET}\\n,'
.if ${.TARGETS:Mpo} || ${.TARGETS:Mtran}
${DOC}.translate.xml:
MASTER_SRCS!= ${MAKE} -C ${EN_DIR} -V SRCS
EN_SRCS= ${MASTER_SRCS:S,^,${EN_DIR}/,g}
${DOC}.translate.xml: ${EN_SRCS}
@if [ "${TRAN_DIR}" == "${EN_DIR}" ]; then \
${ECHO} "build PO file in a non-English dir" ; \
exit 1 ; \