summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-09-22 19:54:11 +0000
committerJose <jose@zeroc.com>2016-09-22 19:54:11 +0000
commitbae76507c7bdf81699a0fc5005b2ec147d1aca00 (patch)
treec3c2436c1cda5a0c3adc77332e073ca44b7b70cb /python
parentAdd SLICE_DIR_SYMLINK to make install (diff)
downloadice-bae76507c7bdf81699a0fc5005b2ec147d1aca00.tar.bz2
ice-bae76507c7bdf81699a0fc5005b2ec147d1aca00.tar.xz
ice-bae76507c7bdf81699a0fc5005b2ec147d1aca00.zip
Fixed (ICE-7186) - Allow to build and tests from different directory
Diffstat (limited to 'python')
-rw-r--r--python/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/Makefile b/python/Makefile
index c97dfb8e75f..a488cef722c 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -9,6 +9,10 @@
top_srcdir = .
+ifeq ($(PYTHON),)
+ PYTHON = python
+endif
+
include $(top_srcdir)/config/Make.rules
SUBDIRS = modules python
@@ -34,4 +38,4 @@ $(EVERYTHING)::
done
test::
- @python $(top_srcdir)/allTests.py
+ @$(PYTHON) $(top_srcdir)/allTests.py