summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2009-09-02 16:16:24 +0200
committerSebastien Martini <seb@dbzteam.org>2009-09-02 16:16:24 +0200
commit4343e273d455ca91fb615d1179f9591972ec9697 (patch)
tree2ff669aa9041c2fcac4f9696a72c6b5c5b7464f6
parentc5cd892a3289a18f0527a33224b44dd2b26048b0 (diff)
downloadpyinotify-4343e273d455ca91fb615d1179f9591972ec9697.tar.gz
Modified Makefile.
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2e3c66a..7667585 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,14 @@
EPYDOC=epydoc
DSTDOC=docstrings
-doc: clean
+doc: clean-doc
$(EPYDOC) --html --graph=all -v -o $(DSTDOC) pyinotify.py
-clean:
+clean-doc:
rm -rf $(DSTDOC)
+
+clean: clean-doc
+ find . \( -name '*~' -or \
+ -name '*.pyc' -or \
+ -name '*.pyo' \) \
+ -print -exec rm {} \;