tools - Merge clean and distclean target
PATCH 1/1 tools - Merge clean and distclean target
# HG changeset patch
# User Bastian Blank <[email protected]>
# Date 1201364477 -3600
# Node ID 3e8a713b70e99d79b8af3d6ee5c7d3bc1db606e1 # Parent f4ee7e5793cff3a6b3ed04f3cad9c3df6225da17 Merge clean and distclean target.
Signed-off-by Bastian Blank <[email protected]>
tools/Makefile +3 -6
@@ -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