From owner-svn-doc-all@freebsd.org Wed Oct 28 00:53:14 2015 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5E8BA1F7ED; Wed, 28 Oct 2015 00:53:14 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A002E1E21; Wed, 28 Oct 2015 00:53:14 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9S0rD8L033177; Wed, 28 Oct 2015 00:53:13 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9S0rD2R033176; Wed, 28 Oct 2015 00:53:13 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201510280053.t9S0rD2R033176@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Wed, 28 Oct 2015 00:53:13 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47692 - head/share/mk X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 00:53:14 -0000 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 ; \