From: Ian Jackson Subject: Re: [PATCH] tools: fix "make distclean" Date: Tue, 20 Jan 2015 14:53:10 +0000 Message-ID: <21694.27606.123762.334820@mariner.uk.xensource.com> References: <1421760672-5881-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421760672-5881-1-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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