summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules10
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index ff806ae..9dbbc69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,26 @@
#!/usr/bin/make -f
-export DH_VERBOSE=1
-
include /usr/share/dpkg/default.mk
+export LDFLAGS += -Wl,--as-needed
+
ifeq ($(DEB_HOST_ARCH),armel)
CFLAGS += -O0
endif
%:
- dh $@
+ 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