3 SLAVESDIR=/usr/lib/osspd
4 UDEVDIR=/lib/udev/rules.d
7 dh $@ --parallel --with=systemd
9 override_dh_auto_build:
10 dh_auto_build -- SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)
12 override_dh_auto_install:
13 dh_auto_install -- prefix=/usr SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)
16 dh_strip --dbg-package=osspd-dbg
18 override_dh_installdocs:
19 mkdir -p debian/osspd-dbg/usr/share/doc
20 ln -s osspd debian/osspd-dbg/usr/share/doc/osspd-dbg
24 dh_install --fail-missing
25 # adding kmod integration
26 install -D -m 0644 debian/osspd.kmod debian/osspd/lib/modules-load.d/osspd.conf
28 # Disable tests, they require running the osspd
29 override_dh_auto_test: