Commit 03dbdfe7 authored by Rafaël Carré's avatar Rafaël Carré

Fix out of tree building of the python bindings

parent 97a9d4e9
...@@ -15,12 +15,10 @@ if HAVE_WIN32 ...@@ -15,12 +15,10 @@ if HAVE_WIN32
else else
COMPILERARG= COMPILERARG=
endif endif
srcdir="$(srcdir)" top_builddir="$(top_builddir)" python "$(srcdir)/setup.py" build $(COMPILERARG) "--build-base=$(top_builddir)/bindings/python" "--build-temp=$(top_builddir)/bindings/python" srcdir="`cd $(srcdir);pwd`" top_builddir="$(abs_top_builddir)" python "$(srcdir)/setup.py" build $(COMPILERARG)
# FIXME: python setup.py install does not have any option to install from a different build directory
# so this will not work in a separate builddir
install: install:
python $(srcdir)/setup.py install top_builddir="$(abs_top_builddir)" srcdir="`cd $(srcdir);pwd`" python $(srcdir)/setup.py install
clean: clean:
$(RM) -rf build $(RM) -rf build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment