File: rules

package info (click to toggle)
redshift 1.12-4.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,412 kB
  • sloc: sh: 4,836; ansic: 4,728; python: 429; makefile: 232; objc: 222; xml: 161
file content (26 lines) | stat: -rwxr-xr-x 555 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
23
24
25
26
#!/usr/bin/make -f

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with python3

override_dh_auto_configure:
	intltoolize --force
	dh_auto_configure -- \
		--enable-randr --enable-vidmode \
		--enable-geoclue2 --disable-geoclue \
		--enable-ubuntu --enable-apparmor

override_dh_install:
	dh_apparmor -predshift --profile-name=usr.bin.redshift
	dh_install

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_installsystemduser: