From: Daniel Kiper Subject: Re: [PATCH 02/13] tools/libfsimage: Fix clean and distclean make targets Date: Fri, 10 May 2013 17:19:24 +0200 Message-ID: <20130510151924.GA16017@debian70-amd64.local.net-space.pl> References: <1367927508-3504-1-git-send-email-daniel.kiper@oracle.com> <1367927508-3504-3-git-send-email-daniel.kiper@oracle.com> <20873.12788.795951.761176@mariner.uk.xensource.com> <20130508192502.GB5221@debian70-amd64.local.net-space.pl> <1368087421.17285.90.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1368087421.17285.90.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , "Keir (Xen.org)" , Stefano Stabellini , "Tim (Xen.org)" , Ian Jackson , "jbeulich@suse.com" , "samuel.thibault@ens-lyon.org" , "dgdegra@tycho.nsa.gov" List-Id: xen-devel@lists.xenproject.org On Thu, May 09, 2013 at 09:17:01AM +0100, Ian Campbell wrote: [...] > The two sets of rules seem to be in fsimage/common/Makefile: > > clean distclean: > rm -f $(PIC_OBJS) $(LIB) $(DEPS) > > and in tools/libfsimage/Rules.mk: > > clean distclean: > rm -f $(PIC_OBJS) $(FSLIB) $(DEPS) > > Which seems a bit redundant anyway, perhaps rather than allowing both > rules we should combine them and just have tools/libfsimage/Rules.mk: > clean distclean: > rm -f $(PIC_OBJS) $(LIB) $(FSLIB) $(DEPS) > ? Yes, my last patch fixed that too. However, I think that it is worth to change those rules to double-colon and have one generic and some specific if required. As I saw this solution is used in some places in Xen source. Anyway, I will post new patch for review. Daniel