Date: Wed, 28 Oct 2015 00:53:13 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47692 - head/share/mk Message-ID: <201510280053.t9S0rD2R033176@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Wed Oct 28 00:53:13 2015 New Revision: 47692 URL: https://svnweb.freebsd.org/changeset/doc/47692 Log: Make the normalized translation file depend on all the SRCS of the English original document. Reviewed by: rene Modified: head/share/mk/doc.docbook.mk Modified: head/share/mk/doc.docbook.mk ============================================================================== --- head/share/mk/doc.docbook.mk Wed Oct 28 00:37:30 2015 (r47691) +++ head/share/mk/doc.docbook.mk Wed Oct 28 00:53:13 2015 (r47692) @@ -287,7 +287,11 @@ POSET_CMD= ${SED} -i '' -e '1s,^,\#$$Fre -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 ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510280053.t9S0rD2R033176>