]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blob - debian/rules
we do not supply an init.d script
[deb_pkgs/autorandr.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@
5
6 override_dh_auto_build:
7         dh_auto_build -- UDEV_RULES_DIR=/lib/udev/rules.d \
8                 SYSTEMD_UNIT_DIR=/lib/systemd/system \
9                 BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \
10                 PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/
11
12 override_dh_auto_install:
13         dh_auto_install -- UDEV_RULES_DIR=/lib/udev/rules.d \
14                 SYSTEMD_UNIT_DIR=/lib/systemd/system \
15                 BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions \
16                 PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/
17         install -D -m 755 contrib/pm-utils/40autorandr debian/autorandr/etc/pm/sleep.d/40autorandr
18
19 # we do not supply an init script
20 override_dh_installinit:
21         dh_installinit -n
22
23 override_dh_auto_clean:
24         dh_auto_clean
25         rm -rf .pybuild autorandr.egg-info