2018-05-16 12:37:28 -04:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
|
2018-05-16 15:24:19 -04:00
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
|
2018-05-16 12:37:28 -04:00
|
|
|
export DEB_BUILD_MAINT_PTIONS = hardening=+all
|
|
|
|
export QT_SELECT = qt5
|
|
|
|
|
2018-05-16 15:24:19 -04:00
|
|
|
MY_BUILDDIR = _build
|
2018-05-16 12:37:28 -04:00
|
|
|
|
|
|
|
%:
|
2018-05-16 15:24:19 -04:00
|
|
|
dh $@ --buildsystem=qmake --builddirectory=$(MY_BUILDDIR)
|
2018-05-16 12:37:28 -04: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-16 15:24:19 -04:00
|
|
|
dh_auto_configure -- ../src
|
2018-05-16 12:37:28 -04:00
|
|
|
|
|
|
|
# Upstream ships with a 'history' directory containing ancient code.
|
|
|
|
# We are not interested in installing this.
|
|
|
|
override_dh_installchangelogs:
|
|
|
|
dh_installchangelogs --exclude=history
|
|
|
|
|
|
|
|
|