diff options
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..01daaf15 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 + pep8 cerbero -r |