summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-02-15 21:28:26 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-02-15 21:28:26 +0400
commit78b578ed0bab67ff9848f5a1ecd0000d5ffa7a27 (patch)
tree3b3b020e001610ab94a816887ac78126b28975b4 /debian
parent7177ac72b8a21f7412f21c73d76fd437afef27d6 (diff)
downloadaugeas-78b578ed0bab67ff9848f5a1ecd0000d5ffa7a27.tar.gz
Use dh_autoreconf
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