summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-29 04:24:27 +0200
committerhut <hut@lavabit.com>2011-09-29 04:24:27 +0200
commita082b66a56cab3003964c1217e37f248b34dacc8 (patch)
treee580ca2da89f201dd6997d5616767cbcbf941f08
parentf59cd305c79351930bc0105d9aebb547dddb3fd6 (diff)
downloadranger-a082b66a56cab3003964c1217e37f248b34dacc8.tar.gz
updated Makefile
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 77fad740..6c5ed88c 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,8 @@ compile: clean
 	PYTHONOPTIMIZE=$(PYOPTIMIZE) $(PYTHON) -m compileall -q ranger
 
 clean:
-	find . -regex .\*.py[co]\$$ -exec rm -f -- {} \;
+	find ranger -regex .\*.py[co]\$$ -delete
+	find ranger -depth -name __pycache__ -type d -exec rm -rf -- {} \;
 
 doc: cleandoc
 	mkdir -p $(DOCDIR)