File: rules

package info (click to toggle)
telepathy-glib 0.24.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 34,628 kB
  • ctags: 19,732
  • sloc: ansic: 124,643; xml: 34,410; sh: 11,299; python: 3,520; makefile: 1,727; cpp: 16
file content (48 lines) | stat: -rwxr-xr-x 1,470 bytes parent folder | download | duplicates (2)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf,gir --parallel

override_dh_strip:
	dh_strip --dbg-package=libtelepathy-glib0-dbg

override_dh_makeshlibs:
	dh_makeshlibs -V

override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/*.la

override_dh_auto_configure:
	dh_auto_configure -- \
	--disable-Werror \
	--enable-introspection \
	--enable-vala-bindings \
	--enable-gtk-doc \
	--with-html-dir=\$${prefix}/share/doc/libtelepathy-glib-doc
	install -d -m700 $(HOME)

# On kernel/libc combinations where credentials-passing doesn't work, or where
# it works but either libdbus or GDBus doesn't understand how, D-Bus clients
# have to write to ~/.dbus-keyrings to prove their identities. Debian packages
# aren't allowed to write to ${HOME}.
export HOME = $(CURDIR)/debian/tmp-home
# GLib doesn't respect $HOME for everything, so we use the Debian-specific
# G_HOME too.
export G_HOME = $(HOME)

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

# The tests try to exit after a reasonable time, but some architectures
# are unreasonably slow, and Ubuntu buildds have output buffering issues.
# Debian buildds know how to abort a stalled build after a while anyway,
# so the individual tests don't need to worry about it.
export TP_TESTS_NO_TIMEOUT = 1

override_dh_install:
	dh_install --list-missing

# the doc package doesn't depend on the shared library, so can't symlink
override_dh_installdocs:
	dh_installdocs -a --link-doc=libtelepathy-glib0
	dh_installdocs -i