aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/python.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/python.mk b/rules/python.mk
index a28b136..f0b6fce 100644
--- a/rules/python.mk
+++ b/rules/python.mk
@@ -35,9 +35,12 @@ configure-%-stamp:
build-%-stamp:
touch $@
+# Install everything into single directory:
+install-%-stamp: protodir = work/proto/tmp
install-%-stamp:
cd "$(sourcedir)" && \
- $* setup.py install --install-layout=deb --no-compile -O0 --root="$(topdir)/$(protodir)"
+ $* setup.py install --install-layout=deb --no-compile -O0 --root="$(topdir)/$(protodir)" \
+ $(install-options)
touch $@
__python_mk := included