File: rules

package info (click to toggle)
udevil 0.4.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,392 kB
  • ctags: 728
  • sloc: sh: 12,733; ansic: 6,018; makefile: 69
file content (18 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# The etc/Makefile should not install systemd units, dh will
export ADD_SYSTEMD=0
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --with systemd

override_dh_auto_install:
	dh_auto_install
	mv debian/udevil/usr/lib/$(DEB_HOST_MULTIARCH)/systemd/system/devmon@.service debian/udevil/lib/systemd/system/
	rm -rf debian/udevil/usr/lib

override_dh_installman:
	dh_installman debian/devmon.1