From owner-svn-src-all@FreeBSD.ORG Tue May 10 12:57:39 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE71D106564A; Tue, 10 May 2011 12:57:39 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF0F8FC0A; Tue, 10 May 2011 12:57:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p4ACvdsi044903; Tue, 10 May 2011 12:57:39 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4ACvdKu044901; Tue, 10 May 2011 12:57:39 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <201105101257.p4ACvdKu044901@svn.freebsd.org> From: Ruslan Ermilov Date: Tue, 10 May 2011 12:57:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221732 - head/tools/build/options X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2011 12:57:39 -0000 Author: ru Date: Tue May 10 12:57:39 2011 New Revision: 221732 URL: http://svn.freebsd.org/changeset/base/221732 Log: Style. Modified: head/tools/build/options/makeman Modified: head/tools/build/options/makeman ============================================================================== --- head/tools/build/options/makeman Tue May 10 12:40:35 2011 (r221731) +++ head/tools/build/options/makeman Tue May 10 12:57:39 2011 (r221732) @@ -206,21 +206,21 @@ EOF if [ ! -f ${opt} ] ; then echo "no description found for ${opt}, skipping" >&2 continue - else - echo ".It Va ${opt}" - sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt} - if [ -n "${targets}" ] ; then - echo '.Pp' - echo 'It is a default setting on' - echo $(echo ${targets} | sed -e's/ /, /g' -e's/\(.*\), /\1 and /'). - fi fi - if [ "${opt%%_*}" = "WITHOUT" ] ; then + echo ".It Va ${opt}" + sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt} + if [ -n "${targets}" ] ; then + echo '.Pp' + echo 'It is a default setting on' + echo $(echo ${targets} | sed -e's/ /, /g' -e's/\(.*\), /\1 and /'). + fi + + if [ "${opt%%_*}" = 'WITHOUT' ] ; then sed -n "/^WITH_${opt#WITHOUT_}$/!s/$/=/p" $t/config_WITH_ALL > $t/src.conf show settings SRCCONF=$t/src.conf -D${opt} | sort > $t/config_WITH_ALL_${opt} comm -13 $t/config_WITH_ALL $t/config_WITH_ALL_${opt} | sed -n "/^${opt}$/!p" > $t/deps - elif [ "${opt%%_*}" = "WITH" ] ; then + elif [ "${opt%%_*}" = 'WITH' ] ; then sed -n "/^WITHOUT${opt#WITH}$/!s/$/=/p" $t/config_WITHOUT_ALL > $t/src.conf show settings SRCCONF=$t/src.conf -D${opt} | sort > $t/config_WITHOUT_ALL_${opt} comm -13 $t/config_WITHOUT_ALL $t/config_WITHOUT_ALL_${opt} | sed -n "/^${opt}$/!p" > $t/deps