| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
CONFIGURE_FLAGS += \ |
| 8 |
--with-systemdsystemunitdir=$(shell pkgconf --variable=systemd_system_unit_dir systemd) \ |
| 9 |
--disable-manuals |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ |
| 13 |
|
| 14 |
override_dh_auto_configure: |
| 15 |
dh_auto_configure -- $(CONFIGURE_FLAGS) |
| 16 |
|
| 17 |
override_dh_install: |
| 18 |
install -m 755 contrib/cbc-apitool.py debian/tmp/usr/bin/cbc-apitool |
| 19 |
dh_install |
| 20 |
|
| 21 |
override_dh_auto_test: |
| 22 |
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) |
| 23 |
|
| 24 |
override_dh_installsystemd: |
| 25 |
dh_installsystemd --no-enable --no-start |