From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38204 invoked by alias); 25 Sep 2015 08:58:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 38194 invoked by uid 89); 25 Sep 2015 08:58:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.openwide.fr Received: from mx1.openwide.fr (HELO mx1.openwide.fr) (213.162.52.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 25 Sep 2015 08:58:19 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra2.corp.accelance.fr (Postfix) with ESMTP id 1A260C150E812; Fri, 25 Sep 2015 10:58:17 +0200 (CEST) Received: from mx1.openwide.fr ([127.0.0.1]) by localhost (zimbra2.corp.accelance.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cMwIZw3hr2hb; Fri, 25 Sep 2015 10:58:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.corp.accelance.fr (Postfix) with ESMTP id E484CC14968C0; Fri, 25 Sep 2015 10:58:15 +0200 (CEST) Received: from mx1.openwide.fr ([127.0.0.1]) by localhost (zimbra2.corp.accelance.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i-nXaiGtJBat; Fri, 25 Sep 2015 10:58:15 +0200 (CEST) Received: from [192.168.42.46] (unknown [37.160.6.43]) by zimbra2.corp.accelance.fr (Postfix) with ESMTPSA id 4A9AEC14903DB; Fri, 25 Sep 2015 10:58:15 +0200 (CEST) Subject: Re: [PATCH] [RFC] gdb: add disable-docs option To: Doug Evans , gdb-patches , Yao Qi , Thomas Petazzoni References: <1441532245-23124-1-git-send-email-romain.naour@openwide.fr> <20150924211221.GA10729@vapier.lan> From: Romain Naour Message-ID: <56050C9B.3050000@openwide.fr> Date: Fri, 25 Sep 2015 08:58:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00568.txt.bz2 Hello, Thanks for your reply! Le 24/09/2015 23:46, Doug Evans a =C3=A9crit : > On Thu, Sep 24, 2015 at 2:12 PM, Mike Frysinger wrote: >> On 06 Sep 2015 11:37, Romain Naour wrote: >>> If makeinfo is not found in the system then the missing >>> script is used to warn the user. >>> >>> Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing >>> script returned 0 after printing the message. >>> >>> Now, missing return 127 (command not found) to the Makefile and >>> the build fail. >>> >>> As suggested [1], add a new option to disable the documentation. >> >> aren't info pages shipped as part of the release ? so even if makeinfo = isn't >> available, it doesn't matter as the pages aren't regenerated on the user= 's >> system. maybe you're applying patches to the source that cause the docs= to be >> regenerated ? if that's the case, i think disabling the docs entirely i= s the >> wrong way to go. instead it should be skipping the regeneration step and >> installing the pages that already exist. alternatively, you can adjust = your >> build to update the timestamps of the generated files so the build won't= try >> to regenerate them. >> -mike >=20 > Agreed. >=20 > Sometimes releases have gone out with bad timestamps which need to be > fixed, but yeah there should be no need to disable doc generation. >=20 Actually, I really want to disable the documentation entirely since all documentation installed by packages (like gdb) are automatically removed fr= om the generated filesystem at the end of the build (see [1] and [2]). Until gdb 7.8, ac_cv_prog_MAKEINFO=3Dmissing was used to workaround the bui= ld issue when makeinfo was missing. But it's not enough since gdb 7.9. Best regards, Romain Naour [1] http://buildroot.uclibc.org/downloads/manual/manual.html#faq-no-doc-on-= target [2] http://git.buildroot.net/buildroot/tree/Makefile#n559