aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2017-09-28 16:59:08 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2017-09-28 16:59:08 +0000
commit1ce60faecfa9023e7c092c6b52383af4f806b7c8 (patch)
tree51081067215b754ddb30e9d993fffcaef5ee6a85
parent6e9e5961edff467519455e226d0e53ba957a89a8 (diff)
downloaddoc-1ce60faecfa9023e7c092c6b52383af4f806b7c8.tar.gz
doc-1ce60faecfa9023e7c092c6b52383af4f806b7c8.zip
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
Notes
Notes: svn path=/head/; revision=50951
-rw-r--r--share/mk/doc.xml.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/doc.xml.mk b/share/mk/doc.xml.mk
index 9740507cea..a3a7e5cf94 100644
--- a/share/mk/doc.xml.mk
+++ b/share/mk/doc.xml.mk
@@ -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