aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-06-11 19:52:36 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-06-11 19:52:44 +0200
commitb9ef14bb7dc0e3556aa9b1de4236ba426ea2b110 (patch)
tree9175fa70c64948b99fb53c14279155b34aec86ab /debian/rules
parent2029b239afb208d71beb811dfdd2797fd19386f2 (diff)
downloadayatana-indicator-bluetooth-b9ef14bb7dc0e3556aa9b1de4236ba426ea2b110.tar.gz
ayatana-indicator-bluetooth-b9ef14bb7dc0e3556aa9b1de4236ba426ea2b110.tar.bz2
ayatana-indicator-bluetooth-b9ef14bb7dc0e3556aa9b1de4236ba426ea2b110.zip
debian/: Update from official Debian packaging.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules18
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=..