summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6c8da0a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+# Shim wrapper around setup.py to allow for familiar build targets
+
+PYTHON ?= python
+
+all:
+ $(PYTHON) setup.py build
+
+install: all
+ $(PYTHON) setup.py install
+
+clean:
+ $(PYTHON) setup.py clean
+
+check: all
+ $(PYTHON) setup.py test
+
+rpm:
+ $(PYTHON) setup.py rpm