From 8518ab5df8245da4890cc4fb9167161574e70c0f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 13 Nov 2014 14:50:13 +0100 Subject: [PATCH] Build zorba in tmp --- debian/rules | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/debian/rules b/debian/rules index f67c581..e8673ca 100755 --- a/debian/rules +++ b/debian/rules @@ -4,17 +4,16 @@ export DH_VERBOSE=1 %: dh $@ --without python-support \ --parallel \ - -Dzorba-3.0 -Bzorba-3.0/build - -override_dh_clean: - rm -fr zorba-3.0 - rm -f zorba-3.0.tar.gz - dh_clean + -Dtmp/zorba-3.0 -Btmp/zorba-3.0/build +override_dh_auto_clean: + rm -fr tmp + override_dh_auto_configure: - wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz - tar zxf zorba-3.0.tar.gz - cd zorba-3.0; mkdir build; cd build; cmake \ + mkdir -p tmp + cd tmp; wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz + cd tmp; tar zxf zorba-3.0.tar.gz + cd tmp/zorba-3.0; mkdir build; cd build; cmake \ -Wno-dev \ -D CMAKE_INSTALL_PREFIX=/opt/zorba \ -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ -- 1.7.10.4