File: rules

package info (click to toggle)
osmo-cbc 0.5.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,872 kB
  • sloc: ansic: 17,002; sh: 5,915; makefile: 763; python: 122
file content (25 lines) | stat: -rwxr-xr-x 589 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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFIGURE_FLAGS += \
  --with-systemdsystemunitdir=$(shell pkgconf --variable=systemd_system_unit_dir systemd) \
  --disable-manuals

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

override_dh_install:
	install -m 755 contrib/cbc-apitool.py debian/tmp/usr/bin/cbc-apitool
	dh_install

override_dh_auto_test:
	dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start