ifdef PREFIX PREFIX_ARGS='--prefix=$(PREFIX)' else PREFIX_ARGS= endif all: python setup.py build install: python setup.py install $(PREFIX_ARGS) dist-tarball: python setup.py sdist --formats=bztar check-pep8: find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --repeat check: PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test make check pep8 coverage: rm -rf _trial_temp PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial --coverage test cerbero make show-coverage show-coverage: python tools/show-coverage.py _trial_temp/coverage/cerbero.*