chiark / gitweb /
debian: Abandon CDBS in favour of plain Debhelper.
[mLib-python] / Makefile
index 53ea323f66736ac1bb9ec22ad7d122c38248e20b..b9f93476f5135c8cbd2b75bc746dec7081576f5f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,2 @@
-## Makefile
-
-PYTHON = python
-prefix = /usr/local
-
-AUTOC = \
-       select.c crc32.c atom.c report.c sym.c unihash.c \
-       base64.c base32.c hex.c
-
-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 $(AUTOC) $(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