From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 2349C3858D34 for ; Mon, 15 Apr 2024 14:18:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2349C3858D34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2349C3858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713190708; cv=none; b=j5wveuQrK6vT0uZbP8rfna74xtMamKGK73XWQU5LlYOET0uB4Fs/xmBStmd++qtCK+84jXNuGAvlVtxVuG+M8j32WkuCJEytf0IXqP7cV0Jsi8hyOXSMK4Yl9Co0umyY+Ki03/EJrp2PofAFzeUFx0Eh9A+8amIohKbHzxZr1ls= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713190708; c=relaxed/simple; bh=GeeuP29HLJVL1eBJFEmzVPyF0Ej8GDYi/F3q+vKHLO8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=pZBFSOeZZEKtag/wmvCVbNfGYqapQaxWDk86SvVClXbm64S9oQlTRVk6T0BYTRkvKYHO7w62nOImAkNVbkA2O610OZGdO555VdxJwC5+k5B+bJzhx49efV9rL4KhUKrp5AgL+aq+pwXbUgYofs98BzmGR/AvZAWW9wCoFvfYp2M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1713190702; bh=GeeuP29HLJVL1eBJFEmzVPyF0Ej8GDYi/F3q+vKHLO8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NlaLy409ps2cF67fAjrBLYd2Z6TuVKm8orwBTVPibj8rTD3caHM4a30Ei1+qQ1qjI j8olUMWpUvnRRH+fzvCChIe6IH3Fvi0OUotRtPgpJoE9m+VM/pERRNPKoID08BI6jF o04Y1WOZfn7HpBCAGs8pyD470mlj+S1Vc/psTjsE= Received: from [172.16.0.192] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 4B43C1E092; Mon, 15 Apr 2024 10:18:22 -0400 (EDT) Message-ID: <81120371-21de-45ab-8ea7-bd8146a7f7a3@simark.ca> Date: Mon, 15 Apr 2024 10:18:21 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] gdb/doc: use silent-rules.mk in the Makefile To: Andrew Burgess , Eli Zaretskii Cc: gdb-patches@sourceware.org References: <09d4a16a33cf31f558a8982075800b113ed4a14e.1712940998.git.aburgess@redhat.com> <868r1isaad.fsf@gnu.org> <87frvq43gj.fsf@redhat.com> <86wmp1rbi7.fsf@gnu.org> <874jc2ivcb.fsf@redhat.com> Content-Language: fr From: Simon Marchi In-Reply-To: <874jc2ivcb.fsf@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 4/15/24 9:55 AM, Andrew Burgess wrote: > Eli Zaretskii writes: >> So my preference would be for having the above emit something like the >> below instead >> >> TEXI2POD gdb.pod >> POD2MAN1 gdb.1 > > That one's harder. The target information comes from make's $@ > variable, so it's easy enough to do: > > TEXI2POD gdb.1 > POD2MAN gdb.1 > > which isn't exactly what you asked for. Could you split the rule in two? One rule generating gdb.pod and one rule generating gdb.1. I personally think the original output from Andrew's patch is fine. In the silent mode, all I need to know is that make is currently working on getting gdb.1 generated. The intermediary gdb.pod file is an implementation detail of the rule. If I want to see it, then I'll use `make V=1`. But if it makes everyone happy, I don't mind if we split the rule in two. Smaller and simpler rules are easier to understand. Simon