From c71b30d98b036a747f248f0ae68e316a2086a664 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 9 Feb 2012 22:56:15 +0000 Subject: Change Makefile to use setup.py to do actual work --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 58d10a0..fe02fbd 100644 --- a/Makefile +++ b/Makefile @@ -14,14 +14,17 @@ # along with this program. If not, see . -all: summain.1 +all: _summain.so summain.1 -summain.1: summain.1.in +_summain.so: _summainmodule.c setup.py + python setup.py build_ext -i + +summain.1: _summain.so summain.1.in python summain --generate-manpage=summain.1.in > summain.1 check: - python -m CoverageTestRunner - rm .coverage + python setup.py check clean: - rm -rf *.pyc .coverage summain.1 build + python setup.py clean + rm -rf *.pyc .coverage summain.1 build _summain.so -- cgit v1.2.1