summaryrefslogtreecommitdiff
path: root/python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/Makefile b/python/Makefile
new file mode 100644
index 0000000..c3a3660
--- /dev/null
+++ b/python/Makefile
@@ -0,0 +1,14 @@
+# vim: shiftwidth=4 tabstop=4 noexpandtab
+
+DESTDIR="" # leave empty for the current system or provide a fakeroot here
+
+.PHONY: all clean install
+
+all:
+ python setup.py build
+
+clean:
+ rm -rf build
+
+install: all
+ python setup.py install --root=$(DESTDIR) --optimize=1 --skip-build