Bastian Blank
2008-Jan-26 16:56 UTC
[Xen-devel] [PATCH] tools - Merge clean and distclean target
# HG changeset patch # User Bastian Blank <waldi@debian.org> # Date 1201364477 -3600 # Node ID 3e8a713b70e99d79b8af3d6ee5c7d3bc1db606e1 # Parent f4ee7e5793cff3a6b3ed04f3cad9c3df6225da17 Merge clean and distclean target. Signed-off-by: Bastian Blank <waldi@debian.org> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel