svn commit: r47692 - head/share/mk

Warren Block wblock at FreeBSD.org
Wed Oct 28 00:53:14 UTC 2015


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 ; \


More information about the svn-doc-all mailing list