PYTHON?=python
+REPO = git://github.com/cython/cython.git
all: local
local:
${PYTHON} setup.py build_ext --inplace
+.git: REV := $(shell cat .gitrev)
+.git: TMPDIR := $(shell mktemp -d tmprepo.XXXXXX)
+.git:
+ rm -rf $(TMPDIR)
+ git clone $(REPO) $(TMPDIR)
+ cd $(TMPDIR); git checkout -b working $(REV)
+ mv $(TMPDIR)/.hgtags .
+ mv $(TMPDIR)/.hgignore .
+ mv $(TMPDIR)/.git .
+ mv $(TMPDIR)/Doc/s5 Doc/s5
+ rm -rf $(TMPDIR)
+
+repo: .git
+
+
clean:
@echo Cleaning Source
@rm -fr build
- @rm -f *.pyc */*.pyc */*/*.pyc
+ @rm -f *.py[co] */*.py[co] */*/*.py[co] */*/*/*.py[co]
@rm -f *.so */*.so */*/*.so
@rm -f *.pyd */*.pyd */*/*.pyd
@rm -f *~ */*~ */*/*~
test: testclean
${PYTHON} runtests.py -vv
-test3: testclean
- ${PYTHON} runtests.py --no-cleanup
- python3.0 runtests.py -vv --no-cython
-
s5:
$(MAKE) -C Doc/s5 slides