From owner-svn-doc-all@freebsd.org Thu Sep 28 16:59:10 2017 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C7B4E03D2B; Thu, 28 Sep 2017 16:59:10 +0000 (UTC) (envelope-from wosch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 298B66604B; Thu, 28 Sep 2017 16:59:10 +0000 (UTC) (envelope-from wosch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8SGx9Z0050988; Thu, 28 Sep 2017 16:59:09 GMT (envelope-from wosch@FreeBSD.org) Received: (from wosch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8SGx9Pb050987; Thu, 28 Sep 2017 16:59:09 GMT (envelope-from wosch@FreeBSD.org) Message-Id: <201709281659.v8SGx9Pb050987@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wosch set sender to wosch@FreeBSD.org using -f From: Wolfram Schneider Date: Thu, 28 Sep 2017 16:59:09 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50951 - head/share/mk X-SVN-Group: doc-head X-SVN-Commit-Author: wosch X-SVN-Commit-Paths: head/share/mk X-SVN-Commit-Revision: 50951 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 16:59:10 -0000 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