diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-04-20 03:03:59 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-04-20 12:22:38 +0200 |
commit | 5abf3b04d50208804c1c5aa59ea4462c5dae9ff7 (patch) | |
tree | 85b044fe4439ad09bd4d82c2e06f6a2607ed6c80 /Makefile | |
parent | dbdcf52f342907ba2329fc7a1b3f1590d9df19b6 (diff) |
Add a makefile
Diffstat (limited to 'Makefile')
-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 |