diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index d10a551..0a263ad 100755 --- a/debian/rules +++ b/debian/rules @@ -2,14 +2,20 @@ 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) -export DPKG_GENSYMBOLS_CHECK_LEVEL=4 - %: - dh $@ --parallel --with systemd + dh $@ override_dh_auto_configure: dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) @@ -17,6 +23,12 @@ override_dh_auto_configure: override_dh_missing: dh_missing --fail-missing +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=.. |
