summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 4ca58d63c330a3b17fabd1c10b46517f494df6a6 (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 

DISTRIBUTION = $(shell lsb_release -i | cut -f2 -d':' | tr -d '\t')
LDFLAGS+=-Wl,--as-needed

%:
	dh $@

# Fixes FTBFS
override_dh_auto_test:

# Autoreconf due to 01_lpi.patch
override_dh_auto_configure:
	[ -e gnome-doc-utils.make ] || \
	ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make
	autoreconf -f -i -s
	dh_auto_configure

override_dh_auto_build:
	cd po; intltool-update -p
	dh_auto_build