File: rules

package info (click to toggle)
irqbalance 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 552 kB
  • sloc: ansic: 4,770; sh: 174; makefile: 43
file content (28 lines) | stat: -rwxr-xr-x 606 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
27
28
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1

#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with systemd,autoreconf,runit

override_dh_auto_configure:
ifeq (linux,$(DEB_HOST_ARCH_OS))
	dh_auto_configure -- --with-systemd
else
	dh_auto_configure
endif

override_dh_clean:
	# uses dh-exec so needs to be executable
	chmod +x debian/irqbalance.install
	dh_clean

override_dh_systemd_enable:
# The postinst script takes care of enabling the service depending on the
# debconf answer
	dh_systemd_enable --no-enable