Index: Makefile |
diff --git a/Makefile b/Makefile |
index 5696f9736c94eeec75b69ef3bc3a2e4fad5706da..9f213181d74bbbc4bb241416062a3e8086c05372 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -14,22 +14,10 @@ |
SDK_LIBS = zlib tiff jpeg8d libpng freetype lua5.2 libogg |
SDK_LIBS += libtheora libvorbis libwebp libxml2 tinyxml openal-soft freealut |
-COVERAGE = coverage |
+COVERAGE = python third_party/coverage |
COVERAGE_ARGS = --fail-under=56 |
COVERAGE_VER := $(shell $(COVERAGE) --version 2>/dev/null) |
-ifndef COVERAGE_VER |
-# Debian/Ubuntu ship the coverage binary as 'python-coverage' so check |
-# for that if coverage is not found. |
-# The version in ubunaru/precise 3.4 does not support the --fail-under |
-# argument. |
-COVERAGE_VER := $(shell python-coverage --version 2>/dev/null) |
-ifdef COVERAGE_VER |
-COVERAGE = python-coverage |
-COVERAGE_ARGS = |
-endif |
-endif |
- |
ifeq ($(V),1) |
VERBOSE ?= 1 |
endif |