aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-10-12 22:35:36 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-10-12 22:35:36 +0200
commit2699f2ae459bb6e312822b8d83a6750fd18d7678 (patch)
treec6a52503499f262b85d79f488892a5c91d85c615 /debian/rules
parent8768ecc5f6382560e7cc2585135b89478d3347ff (diff)
parent6b592615a60f596c9bead0ae4a2225a3d950160d (diff)
downloadayatana-indicator-bluetooth-2699f2ae459bb6e312822b8d83a6750fd18d7678.tar.gz
ayatana-indicator-bluetooth-2699f2ae459bb6e312822b8d83a6750fd18d7678.tar.bz2
ayatana-indicator-bluetooth-2699f2ae459bb6e312822b8d83a6750fd18d7678.zip
Merge branch 'jbicha-personal/jbicha/debian-sync-20260625'
Attributes GH PR #61: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/61
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=..