File: rules

package info (click to toggle)
telepathy-ofono 0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,036 kB
  • sloc: cpp: 8,940; ansic: 668; xml: 263; sh: 52; python: 20; sql: 17; makefile: 14
file content (31 lines) | stat: -rwxr-xr-x 906 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
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DPKG_GENSYMBOLS_CHECK_LEVEL=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

include /usr/share/dpkg/architecture.mk

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=libexec/telepathy

override_dh_auto_test:
#	CTEST_OUTPUT_ON_FAILURE=1 make -C obj-$(DEB_HOST_GNU_TYPE) test

# Unfortunately dh_apparmor doesn't come with a debhelper addon (i.e. the
# ability to specify `dh --with=apparmor`). Its manpage suggests adding it to
# override_dh_install. However, we can do better.
execute_after_dh_auto_install:
	dh_apparmor --profile-name=usr.lib.telepathy.telepathy-ofono -ptelepathy-ofono

%:
	dh $@

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..