80bfd4839e05e00a4a0c3452b31ad6c24b1146ee
[osspd.git] / debian / rules
1 #!/usr/bin/make -f
2
3 SLAVESDIR=/usr/lib/osspd
4 UDEVDIR=/lib/udev/rules.d
5
6 %:
7         dh $@ --parallel --with=systemd
8
9 override_dh_auto_build:
10         dh_auto_build -- SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)
11
12 override_dh_auto_install:
13         dh_auto_install -- prefix=/usr SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR)
14
15 override_dh_strip:
16         dh_strip --dbg-package=osspd-dbg
17
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
21         dh_installdocs
22
23 override_dh_install:
24         dh_install --fail-missing
25
26 # Disable tests, they require running the osspd
27 override_dh_auto_test: