summaryrefslogtreecommitdiff
path: root/tools/python/makefile
diff options
context:
space:
mode:
authorDavid Drysdale <dmd@lurklurk.org>2012-08-25 16:10:56 +0100
committerDavid Drysdale <dmd@lurklurk.org>2012-08-25 16:10:56 +0100
commitb3c4c0c01e593418eb3ddf60427874a83747b277 (patch)
treec9504ffabc305618530d227515b30cc02a9bc503 /tools/python/makefile
parent13aa55864ce9605ec95e67b5009dd5ba39713c8c (diff)
Fix coverage target for new location
Diffstat (limited to 'tools/python/makefile')
-rw-r--r--tools/python/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/makefile b/tools/python/makefile
index e0d418fd..51393d03 100644
--- a/tools/python/makefile
+++ b/tools/python/makefile
@@ -37,7 +37,7 @@ test: alldata
# Coverage; requires coverage module
COVERAGE=$(shell hash python-coverage 2>&- && echo python-coverage || echo coverage)
-COVERAGE_FILES=$(PYDIR)/phonenumbers/*.py
+COVERAGE_FILES=$(subst $(PYDIR),.,$(wildcard $(PYDIR)/phonenumbers/*.py))
coverage: alldata $(PYDIR)/tests/testdata/__init__.py coverage_clean coverage_generate coverage_report
coverage_clean:
cd $(PYDIR) && $(COVERAGE) -e