From 37aabb8e1206b682d4ee3e4d794a0a650e4977c3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 17 Apr 2013 19:47:51 +0400 Subject: Install into a single proto dir; allow extra options --- rules/python.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3