diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:49:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:49:37 +0000 |
commit | 2e555ad8dcd1b163cc1956df62f08d3d024d3df9 (patch) | |
tree | e07caf3859203d57868dfe702b120d4afd69b2c0 /debian/rules | |
parent | Adding upstream version 43.0. (diff) | |
download | gnome-session-debian/43.0-1+deb12u1.tar.xz gnome-session-debian/43.0-1+deb12u1.zip |
Adding debian version 43.0-1+deb12u1.debian/43.0-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..894f2b6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs + +%: + dh $@ + +ifeq (linux,$(DEB_HOST_ARCH_OS)) +CONFFLAGS = -Dsystemd=true -Dsystemd_journal=true -Dsystemd_session=default +else +CONFFLAGS = -Dsystemd=false -Dsystemd_journal=false -Dsystemd_session=disable +endif + +override_dh_auto_configure: + dh_auto_configure -- \ + -Dman=true \ + $(CONFFLAGS) |