From 5e74ca4427cc363bf43308fb00cf7f7d141b0f30 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 27 Sep 2007 14:38:48 -0400 Subject: make "make clean" go into the subdirs and run makeclean there as well --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 928adeb..63408b8 100755 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ NEWRELEASE = $(shell echo $$(($(RELEASE) + 1))) MESSAGESPOT=po/messages.pot +DIRS = modules minion overlord func docs + all: rpms clean: @@ -12,6 +14,7 @@ clean: -rm -rf *~ -rm -rf rpm-build/ -rm -rf docs/*.gz + -for d in $(DIRS); do ($(MAKE) -C $$d clean ); done clean_hard: -rm -rf $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/func @@ -57,6 +60,7 @@ restart: recombuild: install_harder restart + clean_rpms: -rpm -e func -- cgit