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


CFLAGS += -Wno-error=deprecated-declarations
LDFLAGS += -Wl,-z,defs -Wl,--as-needed

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@ --with autoreconf,translations

override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-static

override_dh_install:
	find debian/indicator-printers -name \*.la -delete
	find debian/indicator-printers -name \*.a -delete
	dh_install --fail-missing