summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
-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