aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: aed6f82b110511a46e163a1c657e05c38cef0461 (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"

# Ack 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