From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id B2C553858004 for ; Fri, 9 Apr 2021 00:25:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B2C553858004 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1479335C9C; Fri, 9 Apr 2021 00:25:20 +0000 (UTC) Date: Thu, 8 Apr 2021 20:25:19 -0400 From: Mike Frysinger To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 01/10] Make mostlyclean an alias for clean Message-ID: Mail-Followup-To: Tom Tromey , gdb-patches@sourceware.org References: <20210408203312.2938165-1-tom@tromey.com> <20210408203312.2938165-2-tom@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210408203312.2938165-2-tom@tromey.com> X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 00:25:25 -0000 On 08 Apr 2021 14:33, Tom Tromey wrote: > I found out by accident that "mostlyclean" in a sim subdir removes all > the configure artifacts. The usual rule is: > > * If the maintainer built it, maintainer-clean should remove it; > * If configure built it, distclean should remove it; > * If make built it, "clean" should remove it; > * If there is a handy subset of "clean" that is "easy" to rebuild, > "mostlyclean" should remove it; otherwise mostlyclean should be an > alias for clean > > This patch makes mostlyclean an alias for clean. lgtm, thanks -mike