aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-10-12 22:42:42 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-10-12 22:42:42 +0200
commit86cdcae9029ee64b420576f58d838940e255067e (patch)
tree45c53e80a45d77b1e765248d75a084196e84237a /debian/rules
parent67e0a1671d7e2acd16c48e6b637ec861b6e1d1d0 (diff)
parent6c51d6f4d2e035e9f453a3229e5089e6b5379e99 (diff)
downloadlibayatana-common-main.tar.gz
libayatana-common-main.tar.bz2
libayatana-common-main.zip
Merge branch 'jbicha-personal/jbicha/debian-sync-20260821'HEADmain
Attributes GH PR #67: https://github.com/AyatanaIndicators/libayatana-common/pull/67
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules21
1 files changed, 4 insertions, 17 deletions
diff --git a/debian/rules b/debian/rules
index 6f43f32..49477fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,29 +3,16 @@
NULL=
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-DEB_CMAKE_EXTRA_FLAGS = \
- -DENABLE_TESTS=ON \
- -DENABLE_COVERAGE=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_LOMIRI_FEATURES=ON \
- $(NULL)
%:
- dh $@ --with gir
+ dh $@
override_dh_auto_configure:
dh_auto_configure -- \
- $(DEB_CMAKE_EXTRA_FLAGS)
+ -DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),OFF,ON) \
+ -DENABLE_COVERAGE=OFF \
+ -DENABLE_LOMIRI_FEATURES=ON \
$(NULL)
-override_dh_missing:
- dh_missing --fail-missing
-
-#override_dh_installchangelogs:
-# dh_installchangelogs NEWS
-
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..