25 lines
593 B
Plaintext
Raw Normal View History

#!/usr/bin/make -f
export DH_VERBOSE = 1
2018-05-16 21:24:19 +02:00
DPKG_EXPORT_BUILDFLAGS = 1
2018-05-20 09:59:33 +02:00
# skip *-dbgsym packages
2018-05-19 11:32:16 +02:00
DEB_BUILD_OPTIONS=noddebs
2018-05-16 21:24:19 +02:00
include /usr/share/dpkg/default.mk
2018-05-17 22:43:49 +02:00
#export DEB_BUILD_MAINT_PTIONS = hardening=+all
export QT_SELECT = qt5
2018-05-16 21:24:19 +02:00
MY_BUILDDIR = _build
%:
2018-05-20 14:39:29 +02:00
dh $@ --buildsystem=qmake --builddirectory=$(MY_BUILDDIR)
2018-05-19 11:32:16 +02:00
# 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)
2018-05-19 11:32:16 +02:00
dh_auto_configure -- CONFIG="unix release retroshare_plugins rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib ../src