diff options
author | Johannes Dewender <github@JonnyJD.net> | 2013-10-25 17:45:34 +0200 |
---|---|---|
committer | Johannes Dewender <github@JonnyJD.net> | 2013-10-25 17:50:36 +0200 |
commit | 2fcadee6f71ec91b38033126bb8021301c0e75cb (patch) | |
tree | 9063d57d47a4363a8a3a6b6ebfbe5d6262926f10 | |
parent | ee9050a2664ea4217e797fc4864d390cbe64b91d (diff) | |
download | targetcli-2fcadee6f71ec91b38033126bb8021301c0e75cb.tar.gz |
debian: fix build with setuptools
Signed-off-by: Johannes Dewender <github@JonnyJD.net>
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 683f126..ff471ba 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,8 @@ build_dir = build install_dir = debian/tmp setup = python ./setup.py --quiet +export PYTHONPATH = $$PYTHONPATH:./$(install_dir)/lib/targetcli/ + binary: binary-indep binary-arch: @@ -30,6 +32,7 @@ install: build build: build-stamp build-stamp: dh_testdir + mkdir -p $(install_dir)/lib/targetcli # Build the source package $(setup) build --build-base $(build_dir) install --no-compile --install-purelib $(install_dir)/lib/targetcli --install-scripts $(install_dir)/bin echo "2.6" > $(install_dir)/lib/targetcli/.version |