summaryrefslogtreecommitdiff
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
commit4155761529a9ba5fda7ddded146320979490d37d (patch)
tree19c33058333ea850f41848b6eec4685e878af60c
parentb00aa4ee111b81dbac6917c22ac4c38d32dd7839 (diff)
downloadpython-coveragepy-git-4155761529a9ba5fda7ddded146320979490d37d.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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13bca7ec..e8399a2d 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