From: Bastian Blank Subject: [PATCH] tools - Merge clean and distclean target Date: Sat, 26 Jan 2008 17:56:27 +0100 Message-ID: <20080126165627.GA24153@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Bastian Blank # Date 1201364477 -3600 # Node ID 3e8a713b70e99d79b8af3d6ee5c7d3bc1db606e1 # Parent f4ee7e5793cff3a6b3ed04f3cad9c3df6225da17 Merge clean and distclean target. Signed-off-by: Bastian Blank diff -r f4ee7e5793cf -r 3e8a713b70e9 tools/Makefile --- a/tools/Makefile Sat Jan 26 15:27:18 2008 +0000 +++ b/tools/Makefile Sat Jan 26 17:21:17 2008 +0100 @@ -51,14 +51,11 @@ install: $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen -.PHONY: clean -clean: +.PHONY: clean distclean +clean distclean: @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) subdir-$@-$$subdir; \ + $(MAKE) subdir-clean-$$subdir; \ done - -.PHONY: distclean -distclean: clean subdir-all-%: $(MAKE) -C $* all