From 1ce60faecfa9023e7c092c6b52383af4f806b7c8 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 28 Sep 2017 16:59:08 +0000 Subject: [PATCH] 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 --- share/mk/doc.xml.mk | 3 +++ 1 file changed, 3 insertions(+) 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