diff --git a/Makefile b/Makefile index ef9e5a797e4d4c45af2e4bcd6f4901a52211bc8b..36c659e3837c1aa1de3fd527840f14a87a48d450 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ PYTHON=$(shell which python) PYTHON26=$(shell $(PYTHON) -V 2>&1 | grep 2.6 -q && echo true || echo false) -VERSION=$(shell $(PYTHON) $(CURDIR)/avocado/core/version.py) +VERSION=$(shell $(PYTHON) setup.py --version) DESTDIR=/ BUILDIR=$(CURDIR)/debian/avocado PROJECT=avocado