git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still rubbing off differences
[nepi.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
c9deb28
..
1d47ef4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,3
+1,4
@@
+PYTHON = python
SRCDIR = $(CURDIR)/src
TESTDIR = $(CURDIR)/test
TESTLIB = $(TESTDIR)/lib
SRCDIR = $(CURDIR)/src
TESTDIR = $(CURDIR)/test
TESTLIB = $(TESTDIR)/lib
@@
-9,16
+10,16
@@
COVERAGE = $(or $(shell which coverage), $(shell which python-coverage), \
coverage)
all: clean
coverage)
all: clean
- PYTHONPATH="$(PYTHONPATH):$(SRCDIR)" ./setup.py build
+ PYTHONPATH="$(PYTHONPATH):$(SRCDIR)"
$(PYTHON)
./setup.py build
install: all
install: all
- PYTHONPATH="$(PYTHONPATH):$(SRCDIR)" ./setup.py install
+ PYTHONPATH="$(PYTHONPATH):$(SRCDIR)"
$(PYTHON)
./setup.py install
test: all
retval=0; \
for i in `find "$(TESTDIR)" -iname '*.py' -perm -u+x -type f`; do \
echo $$i; \
test: all
retval=0; \
for i in `find "$(TESTDIR)" -iname '*.py' -perm -u+x -type f`; do \
echo $$i; \
- PYTHONPATH="$(PYPATH)" $$i -v || retval=$$?; \
+ PYTHONPATH="$(PYPATH)" $
(PYTHON) $
$i -v || retval=$$?; \
done; exit $$retval
ifeq ($(file),)
done; exit $$retval
ifeq ($(file),)
@@
-27,7
+28,7
@@
test-one:
else
test-one: all
echo $(file) $(case)
else
test-one: all
echo $(file) $(case)
- PYTHONPATH="$(PYPATH)" $(file) $(case)
+ PYTHONPATH="$(PYPATH)" $(
PYTHON) $(
file) $(case)
endif
test-app:
endif
test-app: