X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=debian%2Frules;h=0bd5d57e1ffaacdd5f9b676c1c43d2a67e8a3280;hb=8e89873bf197700ce0dbd259a8e7b8983d043bf7;hp=646ff94eb87499283f1498d876c57241494dd579;hpb=3d094b059ceec69541f0ed49902b30f2386d9655;p=deb_pkgs%2Fautorandr.git diff --git a/debian/rules b/debian/rules index 646ff94..0bd5d57 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,23 @@ %: dh $@ +override_dh_auto_build: + dh_auto_build -- UDEV_RULES_DIR=/lib/udev/rules.d \ + SYSTEMD_UNIT_DIR=/lib/systemd/system \ + BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \ + PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ + +override_dh_auto_install: + dh_auto_install -- UDEV_RULES_DIR=/lib/udev/rules.d \ + SYSTEMD_UNIT_DIR=/lib/systemd/system \ + BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \ + PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ + install -D -m 755 contrib/pm-utils/40autorandr debian/autorandr/etc/pm/sleep.d/40autorandr + +# we do not supply an init script +override_dh_installinit: + dh_installinit -n + override_dh_auto_clean: dh_auto_clean rm -rf .pybuild autorandr.egg-info