Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 16:59:09 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50951 - head/share/mk
Message-ID:  <201709281659.v8SGx9Pb050987@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709281659.v8SGx9Pb050987>