diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:49 +0000 |
commit | c544777a33fac49f416e520eaf3a89a348dc6d93 (patch) | |
tree | d6c66d360d68de3e8ce637fe78aa2dd35d0b3100 /debian/rules | |
parent | Adding upstream version 43.2. (diff) | |
download | nautilus-debian.tar.xz nautilus-debian.zip |
Adding debian version 43.2-1.debian/43.2-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..046f0e2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +ifeq ($(DEB_HOST_ARCH_OS),linux) +ENABLE_SELINUX := -Dselinux=true +else +ENABLE_SELINUX := -Dselinux=false +endif + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -Ddocs=true \ + -Dpackagekit=true \ + -Dtests=all \ + $(ENABLE_SELINUX) + +override_dh_auto_test: + touch $(CURDIR)/debian/.debhelper/generated/_source/home/.gtk-bookmarks + NO_AT_BRIDGE=1 dbus-run-session -- xvfb-run --auto-servernum dh_auto_test |