From: Ian Campbell Subject: Re: [PATCH] tools: fix "make distclean" Date: Tue, 27 Jan 2015 17:18:59 +0000 Message-ID: <1422379139.16180.21.camel@citrix.com> References: <1421760672-5881-1-git-send-email-wei.liu2@citrix.com> <21694.27606.123762.334820@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21694.27606.123762.334820@mariner.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 Jackson Cc: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2015-01-20 at 14:53 +0000, Ian Jackson wrote: > Wei Liu writes ("[PATCH] tools: fix "make distclean""): > > The original rule to target "distclean" in tools/Rules.mk was in effect > > "make clean". It should be "make distclean". > > > > However not all Makefiles in subdirectories have distclean target > > defined. So this patch also adds a bunch of distclean targets to various > > Makefiles. They only depend on clean target and don't have any actions > > in most cases. > > > > With the patch applied, following command outputs 0 results: > > > > find tools -name 'Makefile*' -exec grep -L 'distclean' {} \+ \ > > | grep -v ocaml | grep -v libfsimage > > > > Ocaml and libfsimage are known to have distclean defined in a dedicated > > rules file. > > Acked-by: Ian Jackson Likewise + applied.