svn commit: r50951 - head/share/mk

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.