chiark / gitweb /
Release 1.0.5.
[mLib-python] / Makefile
index 7963e52277546b4ba8325ab3324dcdcba5b43673..b9f93476f5135c8cbd2b75bc746dec7081576f5f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,2 @@
-## Makefile
-
-PYTHON = python
-prefix = /usr/local
-
-GEN = base64.pyx base32.pyx hex.pyx
-
-all: setup.py
-       $(PYTHON) setup.py build
-
-clean: setup.py
-       $(PYTHON) setup.py clean
-       rm -rf build
-       rm -f mLib.c $(GEN) MANIFEST
-
-dist: setup.py
-       $(PYTHON) setup.py sdist
-
-install: setup.py
-       $(PYTHON) setup.py install --prefix $(prefix)
-
-.PHONY: all clean dist install
+### -*-makefile-*-
+include pysetup.mk