Make the normalized translation file depend on all the SRCS of the
English original document. Reviewed by: rene
This commit is contained in:
parent
24eddf49b8
commit
0a4ab32374
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47692
1 changed files with 5 additions and 1 deletions
|
@ -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 ; \
|
||||
|
|
Loading…
Reference in a new issue