Skip to contentSkip to conversation

tools - Merge clean and distclean target

PATCH New Bastian Blank 1 participant 1 message Jan 26, 2008

lore
Share & tools
lore
#0 lore raw

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.

tools/Makefile +3 -6
diff -r f4ee7e5793cf -r 3e8a713b70e9 tools/Makefile
@@ -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