From da38da6de6e83699e72c3cc47d4bc6fd17a1e419 Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Tue, 18 Dec 2012 11:18:28 +0100 Subject: [PATCH] pass DEB_SRCDIR to cmake * allows to build out of source (e.g. DEB_SRCDIR=../src DEB_BUILDDIR=. dpkg-buildpackage -rfakeroot) --- packaging/debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/debian/rules b/packaging/debian/rules index 7ceb493..7fa83b9 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -17,7 +17,8 @@ CMAKE = cmake -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/tmp/opt/marble \ -DCMAKE_BUILD_TYPE=Release \ -DMOBILE=ON \ -DBUILD_INHIBIT_SCREENSAVER_PLUGIN=TRUE \ - -DICON_INSTALL_DIR:PATH=../../usr/share/icons + -DICON_INSTALL_DIR:PATH=../../usr/share/icons \ + $(DEB_SRCDIR) DEB_MAKE_INSTALL_TARGET = install -- 1.7.9.5