From 6985efa213c2375599ea30b27199f8cac8623c3a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 30 Nov 2023 20:08:02 -0800 Subject: [PATCH] Use pkg-config for every variable which is supported Closes #1056966 PM_SLEEPHOOKS_DIR is still not supported --- debian/changelog | 10 ++++++++++ debian/rules | 6 ++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index d40aedc..7c474ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +autorandr (1.14-2) unstable; urgency=medium + + [ Chris Hofstaedtler ] + * Move udev rules to follow pkg-config (Closes: 1056966) + + [ Don Armstrong ] + * Use pkg-config for everything except PM_SLEEPHOOKS_DIR + + -- Don Armstrong Thu, 30 Nov 2023 20:07:33 -0800 + autorandr (1.14-1) unstable; urgency=medium * New upstream release diff --git a/debian/rules b/debian/rules index 5eee5ea..f9716d9 100755 --- a/debian/rules +++ b/debian/rules @@ -4,13 +4,11 @@ dh $@ override_dh_auto_build: - dh_auto_build -- UDEV_RULES_DIR=/lib/udev/rules.d \ - BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \ + dh_auto_build -- \ PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ override_dh_auto_install: - dh_auto_install -- UDEV_RULES_DIR=/lib/udev/rules.d \ - BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \ + dh_auto_install -- \ PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ install -D -m 755 contrib/pm-utils/40autorandr debian/autorandr/etc/pm/sleep.d/40autorandr install -D -m 644 contrib/zsh_completion/_autorandr debian/autorandr/usr/share/zsh/vendor-completions/_autorandr -- 2.39.2