File: rules

package info (click to toggle)
autorandr 1.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312 kB
  • sloc: python: 1,333; makefile: 213; ansic: 150; sh: 81
file content (22 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- \
		PM_SLEEPHOOKS_DIR=/etc/pm/sleep.d/

override_dh_auto_install:
	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

# 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