From 5fb6005ee41e8ae1d8b3fc85613fcc6fd50ff1c2 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 19 May 2018 11:32:16 +0200 Subject: [PATCH] fixed debian/rules file --- build_scripts/Debian/debian/rules | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/build_scripts/Debian/debian/rules b/build_scripts/Debian/debian/rules index cb95b1d68..8b4fe6b6d 100755 --- a/build_scripts/Debian/debian/rules +++ b/build_scripts/Debian/debian/rules @@ -3,6 +3,8 @@ export DH_VERBOSE = 1 DPKG_EXPORT_BUILDFLAGS = 1 +DEB_BUILD_OPTIONS=noddebs + include /usr/share/dpkg/default.mk #export DEB_BUILD_MAINT_PTIONS = hardening=+all @@ -11,17 +13,13 @@ export QT_SELECT = qt5 MY_BUILDDIR = _build %: - dh $@ --buildsystem=qmake --builddirectory=$(MY_BUILDDIR) + dh $@ --parallel --buildsystem=qmake --builddirectory=$(MY_BUILDDIR) + +# Override dh_auto_configure in order to call qmake on the parent dir. We call mkdir here because of #800738. -# Override dh_auto_configure in order to call qmake on the parent dir. -# We call mkdir here because of #800738. override_dh_auto_configure: @mkdir -p $(MY_BUILDDIR) - dh_auto_configure -- CONFIG="release retroshare_plugins rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib ../src - -# Upstream ships with a 'history' directory containing ancient code. -# We are not interested in installing this. -override_dh_installchangelogs: - dh_installchangelogs --exclude=history + dh_auto_configure -- CONFIG="unix release retroshare_plugins rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib ../src +