summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-27 14:38:48 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-27 14:38:48 -0400
commit5e74ca4427cc363bf43308fb00cf7f7d141b0f30 (patch)
tree9dac1da4b520f3f29a8a925702689ed48f8bdaf1
parent6625dd4cbbd7b998ddb890666733da602757f38b (diff)
downloadfunc-5e74ca4427cc363bf43308fb00cf7f7d141b0f30.tar.gz
func-5e74ca4427cc363bf43308fb00cf7f7d141b0f30.tar.xz
func-5e74ca4427cc363bf43308fb00cf7f7d141b0f30.zip
make "make clean" go into the subdirs and run makeclean there
as well
-rwxr-xr-xMakefile4
1 files changed, 4 insertions, 0 deletions
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