[libfann] 233/242: Makefile PYTHON variable
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:10:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to tag Version2_0_0
in repository libfann.
commit a305372ddbe18759327c03812f52043a7229f10e
Author: Vincenzo Di Massa <hawk at hawk.linuxpratico.net>
Date: Mon Dec 19 00:10:22 2005 +0000
Makefile PYTHON variable
---
python/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/python/Makefile b/python/Makefile
index fb8e58e..0977c5d 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -2,6 +2,7 @@
# GNU platforms (cygwin included.)
ROOT=/
+PYTHON=python
all: build
@@ -17,10 +18,10 @@ msvc:
@(cd pyfann && make -f makefile.msvc)
build: ../src/fann.o
- @python setup.py build
+ @$(PYTHON) setup.py build
install: build
- @python setup.py install --root $(ROOT)
+ @$(PYTHON) setup.py install --root $(ROOT)
../src/fann.o: ../Makefile
@(cd .. && make )
@@ -30,5 +31,5 @@ install: build
test: build
@-mkdir examples/nets
- @python setup.py install --install-lib examples
- @cd examples && python simple_train.py && python mushroom.py
+ @$(PYTHON) setup.py install --install-lib examples
+ @cd examples && $(PYTHON) simple_train.py && $(PYTHON) mushroom.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git
More information about the debian-science-commits
mailing list