summaryrefslogtreecommitdiff
path: root/Makefile
blob: c73031c2db1e782aef45341379d3b9df1592e14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:
	PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test
	find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --repeat