From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6490 invoked by alias); 24 Feb 2011 14:26:59 -0000 Received: (qmail 6481 invoked by uid 22791); 24 Feb 2011 14:26:59 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Feb 2011 14:26:50 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1OEQmEI030120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Feb 2011 09:26:49 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p1OEQm3v031709; Thu, 24 Feb 2011 09:26:48 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p1OEQlcD025105; Thu, 24 Feb 2011 09:26:47 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 44ABE378388; Thu, 24 Feb 2011 07:26:47 -0700 (MST) From: Tom Tromey To: Michael Snyder Cc: "gdb-patches\@sourceware.org" Subject: Re: [rfa] make clean should remove observe.h and observer.inc References: <4D6429F5.3030209@vmware.com> <4D657DB3.80807@vmware.com> Date: Thu, 24 Feb 2011 15:46:00 -0000 In-Reply-To: <4D657DB3.80807@vmware.com> (Michael Snyder's message of "Wed, 23 Feb 2011 13:35:47 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2011-02/txt/msg00694.txt.bz2 Michael> 2011-02-23 Michael Snyder Michael> * Makefile.in (clean): Make clean should remove generated files Michael> observer.h and observer.inc. I think this is ok. There is a sort of GNU rule governing "clean" behavior. I'm not sure whether this is documented in the GNU standards but it is longstanding practice, existing before and then codified in Automake: * 'mostlyclean' is a "useful" subset of 'clean' * If 'make' built it, 'clean' removes it * If 'configure' built it, 'distclean' removes it * If the developer built it, but it is a generated file not needed for "configure; make", then `maintainer-clean' removes it. I looked a little more and I found this in the Automake manual's "Clean" node. Tom