summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 9dbbc696b8eba14f8cd9a6c88f0e4a2dec583555 (plain)
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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

export LDFLAGS += -Wl,--as-needed

ifeq ($(DEB_HOST_ARCH),armel)
	CFLAGS += -O0
endif

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
			--disable-silent-rules \
			--enable-compile-warnings=yes \
			--with-naturaldocs-output=HTML \
			--with-pdfdocs

override_dh_autoreconf:
	LIBTOOLIZE=debian/preserving-libtoolize dh_autoreconf

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_strip:
	dh_strip --dbg-package augeas-dbg