File: rules

package info (click to toggle)
telepathy-salut 0.8.1-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 11,072 kB
  • ctags: 11,589
  • sloc: ansic: 91,259; sh: 11,295; python: 8,001; makefile: 1,510; xml: 710
file content (47 lines) | stat: -rwxr-xr-x 1,422 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --with autoreconf

# Work around #704225: Automake can do parallel make, but not parallel
# "make install" if libtool relinking is required; so only use --parallel
# for the build, not the rest.
override_dh_auto_build:
	dh_auto_build --parallel

# Now that we use debhelper 9, dh_auto_configure defaults to
# $libexecdir=$libdir, which might be better than this, but doesn't match
# our historical practice (so it'd break old debugging instructions).
# Leaving it as it was for now...
override_dh_auto_configure:
	dh_auto_configure -- \
		--libdir="\$${prefix}/lib" \
		--libexecdir="\$${prefix}/lib/telepathy" \
		--enable-olpc \
		--disable-static \
		$(NULL)

# the regression tests are too race-prone to run on Debian buildds
override_dh_auto_test:
	:

# remove the development symlinks - nothing in Debian should depend on these
# private libraries
override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/telepathy/salut-0/plugins/*.la
	rm -f debian/tmp/usr/lib/telepathy/salut-0/lib/*.la
	rm -f debian/tmp/usr/lib/telepathy/salut-0/lib/libwocky.so
	rm -f debian/tmp/usr/lib/telepathy/salut-0/lib/libsalut-plugins.so

override_dh_install:
	dh_install --list-missing

override_dh_strip:
	dh_strip --dbg-package=telepathy-salut-dbg

# the libraries are considered private, nothing in Debian should depend on them
override_dh_makeshlibs:
	: