summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-01-23 14:37:37 +0000
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-01-23 14:37:37 +0000
commit7b2b84652b2f15fcf69c8d10f10014eeb2d7ce71 (patch)
tree950791c8d94018ec9ce85890d398ce0aa0f6e317 /Makefile
parentcc6a35e05ffdf3e13996dccb38c521adfc1a24fd (diff)
downloadpython-coveragepy-7b2b84652b2f15fcf69c8d10f10014eeb2d7ce71.tar.gz
Fix 'make clean' for a clean environment
In a completely clean environment running 'make clean' will fail due to test/backtest.py not being in the import path.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13bca7e..e8399a2 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ TEST_EGG = test/eggsrc/dist/covtestegg1-0.0.0-py*.egg
clean:
-rm -f *.pyd */*.pyd
-rm -f *.so */*.so
- python test/test_farm.py clean
+ PYTHONPATH=. python test/test_farm.py clean
-rm -rf build coverage.egg-info dist htmlcov
-rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc
-rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo