aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules24
1 files changed, 4 insertions, 20 deletions
diff --git a/debian/rules b/debian/rules
index 0a263ad..51631df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,34 +1,18 @@
#!/usr/bin/make -f
-NULL =
-
-export DPKG_GENSYMBOLS_CHECK_LEVEL=4
-
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-DEB_CMAKE_EXTRA_FLAGS = \
- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
- -DENABLE_TESTS=ON \
- -DENABLE_COVERAGE=OFF \
- $(NULL)
%:
dh $@
override_dh_auto_configure:
- dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
-
-override_dh_missing:
- dh_missing --fail-missing
+ dh_auto_configure -- \
+ -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
+ -DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) \
+ -DENABLE_COVERAGE=OFF
override_dh_installchangelogs:
dh_installchangelogs NEWS
-# For live test logs:
-#override_dh_auto_test:
-# ARGS=-V dh_auto_test
-
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..