X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath-python/blobdiff_plain/65ca3a6f365cd9c771ba9eee35c76a5495fea23b..936ed0193fc78a444885ab2f8e813a55e3163871:/Makefile diff --git a/Makefile b/Makefile index e414f7b..f1add74 100644 --- a/Makefile +++ b/Makefile @@ -4,21 +4,17 @@ PYTHON = python PYREXC = pyrexc prefix = /usr/local -all: setup.py checkpath.c +all: setup.py $(PYTHON) setup.py build clean: setup.py $(PYTHON) setup.py clean rm -rf build checkpath.c -checkpath.c: checkpath.pyx - pyrexc -o $@.new checkpath.pyx - mv $@.new $@ - -dist: setup.py checkpath.c +dist: setup.py $(PYTHON) setup.py sdist -install: setup.py checkpath.c +install: setup.py $(PYTHON) setup.py install --prefix $(prefix) .PHONY: all clean dist install