svn commit: r50951 - head/share/mk
Wolfram Schneider
wosch at FreeBSD.org
Thu Sep 28 16:59:10 UTC 2017
Author: wosch
Date: Thu Sep 28 16:59:08 2017
New Revision: 50951
URL: https://svnweb.freebsd.org/changeset/doc/50951
Log:
new variable XMLDOCS_NO_SRCS
if set there will be no implicit adding of files to SRCS, which may
break `make -n', or `make -j1', or dependencies checking
PR: 222631
Modified:
head/share/mk/doc.xml.mk
Modified: head/share/mk/doc.xml.mk
==============================================================================
--- head/share/mk/doc.xml.mk Thu Sep 28 16:53:43 2017 (r50950)
+++ head/share/mk/doc.xml.mk Thu Sep 28 16:59:08 2017 (r50951)
@@ -338,7 +338,10 @@ NO_DATA.${_ID}=
XSLTPROCOPTS.${_ID}?= ${XSLTPROCOPTS}
GENDOCS+= ${TARGET.${_ID}}
+
+.if !defined(XMLDOCS_NO_SRCS) || empty(XMLDOCS_NO_SRCS)
SRCS+= ${TARGET.${_ID}}
+.endif
.if !defined(NO_DATA.${_ID}) || empty(NO_DATA.${_ID})
DATA+= ${TARGET.${_ID}}
.endif
More information about the svn-doc-head
mailing list