| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ |
| 5 |
|
| 6 |
override_dh_auto_build: |
| 7 |
dh_auto_build -- \ |
| 8 |
PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ |
| 9 |
|
| 10 |
override_dh_auto_install: |
| 11 |
dh_auto_install -- \ |
| 12 |
PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/ |
| 13 |
install -D -m 755 contrib/pm-utils/40autorandr debian/autorandr/etc/pm/sleep.d/40autorandr |
| 14 |
install -D -m 644 contrib/zsh_completion/_autorandr debian/autorandr/usr/share/zsh/vendor-completions/_autorandr |
| 15 |
|
| 16 |
# we do not supply an init script |
| 17 |
override_dh_installinit: |
| 18 |
dh_installinit -n |
| 19 |
|
| 20 |
override_dh_auto_clean: |
| 21 |
dh_auto_clean |
| 22 |
rm -rf .pybuild autorandr.egg-info |