Makefile: use KIVY_DIR

+ add clean and distclean target
This commit is contained in:
Mathieu Virbel 2011-01-21 00:11:42 +01:00
parent 508eec3a94
commit 8527df07df
1 changed files with 10 additions and 1 deletions

View File

@ -20,4 +20,13 @@ test:
python setup.py nosetests
cover:
coverage html --include='kivy*' --omit 'kivy/lib/*,kivy/tools/*,kivy/tests/*'
coverage html --include='$(KIVY_DIR)*' --omit '$(KIVY_DIR)lib/*,$(KIVY_DIR)tools/*,$(KIVY_DIR)tests/*'
clean:
-rm -rf build
-rm -rf htmlcov
-rm .coverage
-rm .noseids
distclean: clean
-git clean -dxf