File: rules

package info (click to toggle)
acpid 1:2.0.32-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,096 kB
  • sloc: sh: 4,386; ansic: 4,314; perl: 283; makefile: 30
file content (17 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DEB_CFLAGS_MAINT_PREPEND = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE
export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing

%:
	dh ${@} --with runit

# acpid.service will still be started by dh_installinit on installation, but
# the systemd service is socket-activated, thus does not have to be started
override_dh_installsystemd:
	dh_installsystemd -pacpid --no-enable --no-start acpid.service
	dh_installsystemd -pacpid acpid.socket
	dh_installsystemd -pacpid acpid.path
	dh_installsystemd --remaining-packages