fixed debian/rules file

This commit is contained in:
csoler 2018-05-19 11:32:16 +02:00
parent ddf98a52ca
commit 5fb6005ee4
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -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