From owner-svn-doc-head@freebsd.org Fri Jun 9 15:04:54 2017 Return-Path: Delivered-To: svn-doc-head@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 11E17BF6CEC; Fri, 9 Jun 2017 15:04:54 +0000 (UTC) (envelope-from mat@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 D7D326FA1F; Fri, 9 Jun 2017 15:04:53 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v59F4qJB031834; Fri, 9 Jun 2017 15:04:52 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v59F4qKv031833; Fri, 9 Jun 2017 15:04:52 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201706091504.v59F4qKv031833@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 9 Jun 2017 15:04:52 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50345 - head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 15:04:54 -0000 Author: mat Date: Fri Jun 9 15:04:52 2017 New Revision: 50345 URL: https://svnweb.freebsd.org/changeset/doc/50345 Log: Create one more level of sections to group CONFIGURE_ARGS and CMAKE_ARGS helpers. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Jun 9 15:04:50 2017 (r50344) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Jun 9 15:04:52 2017 (r50345) @@ -5699,7 +5699,10 @@ USE_OPENSSL= yes .endif - + + <varname>CONFIGURE_ARGS</varname> Helpers + + <varname><replaceable>OPT</replaceable>_CONFIGURE_ENABLE</varname> When option OPT is selected, @@ -5739,9 +5742,9 @@ CONFIGURE_ARGS+= --enable-test2=exhaustive .else CONFIGURE_ARGS+= --disable-test2 .endif - + - + <varname><replaceable>OPT</replaceable>_CONFIGURE_WITH</varname> When option OPT is selected, @@ -5781,9 +5784,9 @@ CONFIGURE_ARGS+= --with-test2=exhaustive .else CONFIGURE_ARGS+= --without-test2 .endif - + - + <varname><replaceable>OPT</replaceable>_CONFIGURE_ON</varname> and <varname><replaceable>OPT</replaceable>_CONFIGURE_OFF</varname> @@ -5819,9 +5822,13 @@ CONFIGURE_ARGS+= --no-test linkend="options-configure_with"/> provide a shorter and more comprehensive functionality. + - + + <varname>CMAKE_ARGS</varname> Helpers + + <varname><replaceable>OPT</replaceable>_CMAKE_ON</varname> and <varname><replaceable>OPT</replaceable>_CMAKE_OFF</varname> @@ -5854,9 +5861,9 @@ CMAKE_ARGS+= -DOPTIMIZE:BOOL=true See for a shorter helper when the value is boolean. - + - + <varname><replaceable>OPT</replaceable>_CMAKE_BOOL</varname> and <varname><replaceable>OPT</replaceable>_CMAKE_BOOL_OFF</varname> @@ -5897,6 +5904,7 @@ CMAKE_ARGS+= -DTEST:BOOL=true -DDEBUG:BOOL=true \ CMAKE_ARGS+= -DTEST:BOOL=false -DDEBUG:BOOL=false \ -DOPTIMIZE:BOOL=true .endif +