aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:28:44 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:29:51 +0200
commit47cac22f765a60b322d45e61129cc68bef8263ad (patch)
tree2fdd589e6ca7388cfc4b09b1908fa4dd969ca6c3 /debian/rules
parentfb58fccf6e0fef8a1e88027945f22812e8c7c356 (diff)
downloadqmenumodel-47cac22f765a60b322d45e61129cc68bef8263ad.tar.gz
qmenumodel-47cac22f765a60b322d45e61129cc68bef8263ad.tar.bz2
qmenumodel-47cac22f765a60b322d45e61129cc68bef8263ad.zip
debian/rules: Enable unit tests.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b077472..fcbfa68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,18 @@
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
+ -DENABLE_TESTS=ON \
+ -DENABLE_COVERAGE=OFF \
+ $(NULL)
+
%:
dh $@ --parallel
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
override_dh_makeshlibs:
dh_makeshlibs -Xlibqmenumodel-qml.so