From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 22C236DE026C for ; Tue, 9 Aug 2016 03:53:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.57 X-Spam-Level: X-Spam-Status: No, score=-0.57 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wKu_8ru3EKdr for ; Tue, 9 Aug 2016 03:53:03 -0700 (PDT) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id 1AFAD6DE0188 for ; Tue, 9 Aug 2016 03:53:03 -0700 (PDT) Received: by mail-wm0-f66.google.com with SMTP id i138so2305934wmf.3 for ; Tue, 09 Aug 2016 03:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=2oyL1MtHrCPcwmPlwCXbQMGPX7U2Ay0gj+oTYdBTNsU=; b=MzeOK+Xqhk7/PzaVyktUg0/o5cL6ifUTWcFRolS4CseNlBioXYOUWIp8rSxKEEN16x gvREZ080kWqn1pNrKn5T5HxPfFpahx1RKT56hb2sJruuSGGGsjOIB/cY7Z8ASzECm7Kv 93gV/XhIql9gBk7Dp0ZtFuH7CylGfEXD/mv1n35c8v+niztfc1fL9fnHeFA7ynPS+2KP HBsqtiUU6W6kMLrr6FaIcq+tdD/dqfWPrg+UFsHIkSBHNkxFOGa0qJq2ITeE65MKr7oX AHLc3E3+Kd/aZoVtPWu4dBF1N8sY4iQRcMr3xs0bnhk+DeA1xDpFvcr1QXTaIsXPZdfe K6pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=2oyL1MtHrCPcwmPlwCXbQMGPX7U2Ay0gj+oTYdBTNsU=; b=mO/u/5kxGwIKqitfriIRl7cqt7BNvBh+YUc3obxpOLc+5FQczrjc9amQt8pp5Ai9Ls 92oc7/BZF49vxzu+R7S+M+gCJoa4mfffm69GRexg4MOvPGu7ReD40ZLqh/DUonr7XhfJ rRoFUrT1nmOH7+Jm1IOlXw1CMzPiAB2CWGM4Lqd4tBFLWG5T2l1eUmJuKNJMNGtnwaUA sQakUSByEoWRUkWB/WFRLfIIt+BVS+6qQ6uyY2ZEsnUzmz8P94cvKK7zfZphhHMIZG7+ Q09PSg+LScsBnYbZUcO3EAPIhi07fHLMaIDNgx92Hj93iofkrr58VlySj/Bb3GwamZOQ JcCg== X-Gm-Message-State: AEkoouvnjl1Xr8bV9PLYMc08YQEGVs/T6hoC1Rj4FiMTDYt/gUl1Ql5Dup7ST1mW0Teypg== X-Received: by 10.25.32.134 with SMTP id g128mr28849246lfg.87.1470739978740; Tue, 09 Aug 2016 03:52:58 -0700 (PDT) Received: from bsd1.my.domain ([84.51.98.95]) by smtp.gmail.com with ESMTPSA id d15sm6408309lfg.0.2016.08.09.03.52.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 03:52:58 -0700 (PDT) From: mp39590@gmail.com To: notmuch@notmuchmail.org Subject: [PATCH] configure: add --without-api-docs option Date: Tue, 9 Aug 2016 13:52:46 +0300 Message-Id: <20160809105246.70959-1-mp39590@gmail.com> X-Mailer: git-send-email 2.9.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 10:53:11 -0000 From: Mikhail Add option to explicitly disable API man page build even if doxygen is available. --- configure | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ae0a027..a6b6ee8 100755 --- a/configure +++ b/configure @@ -68,6 +68,7 @@ PYTHON=${PYTHON:-} PREFIX=/usr/local LIBDIR= WITH_DOCS=1 +WITH_API_DOCS=1 WITH_EMACS=1 WITH_BASH=1 WITH_RUBY=1 @@ -137,7 +138,8 @@ Some features can be disabled (--with-feature=no is equivalent to --without-feature) : --without-bash-completion Do not install bash completions files - --without-docs Do not install documentation and man pages + --without-docs Do not install man pages + --without-api-docs Do not install API documentation --without-emacs Do not install lisp file --without-ruby Do not install ruby bindings --without-zsh-completion Do not install zsh completions files @@ -189,6 +191,14 @@ for option; do fi elif [ "${option}" = '--without-docs' ] ; then WITH_DOCS=0 + elif [ "${option%%=*}" = '--with-api-docs' ]; then + if [ "${option#*=}" = 'no' ]; then + WITH_API_DOCS=0 + else + WITH_API_DOCS=1 + fi + elif [ "${option}" = '--without-api-docs' ] ; then + WITH_API_DOCS=0 elif [ "${option%%=*}" = '--with-emacs' ]; then if [ "${option#*=}" = 'no' ]; then WITH_EMACS=0 @@ -557,7 +567,7 @@ else fi have_doxygen=0 -if [ $WITH_DOCS = "1" ] ; then +if [ $WITH_API_DOCS = "1" ] ; then printf "Checking if doxygen is available... " if command -v doxygen > /dev/null; then printf "Yes.\n" -- 2.9.0