aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: f679369b650c1ea1b00397d9155970a7b7d9e8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh $@ --with translations,autoreconf

override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

override_dh_install:
	find debian/indicator-session/usr/lib -name *.la -delete
	find debian/indicator-session/usr/lib -name *.a -delete
	dh_install --fail-missing

override_dh_auto_configure:
	dh_auto_configure -- --libexecdir="\$${prefix}/lib/indicator-session"

# Hack as it seems it's not possible to easy run that under dbus-test-runner
override_dh_auto_test:
	env -u LD_PRELOAD dh_auto_test