diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-02-09 22:56:15 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-02-09 22:56:15 +0000 |
commit | c71b30d98b036a747f248f0ae68e316a2086a664 (patch) | |
tree | 03afde1f81f670062613f26890b10a95454954f6 | |
parent | 1026e773893602cc9e1f064b441021714fa0438a (diff) | |
download | summain-c71b30d98b036a747f248f0ae68e316a2086a664.tar.gz |
Change Makefile to use setup.py to do actual work
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |