@@ -1,7 +1,7 @@
Source: opendataplane
Priority: optional
Maintainer: Anders Roxell <anders.roxell@linaro.org>
-Build-Depends: debhelper (>= 9), autotools-dev, libssl-dev, doxygen,
+Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev, doxygen,
imagemagick, libmagickcore-6.q16-2-extra | libmagickcore-extra,
ghostscript, asciidoc, mscgen, texlive-latex-recommended
Standards-Version: 3.9.6
@@ -1,12 +1,17 @@
#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DPKG_EXPORT_BUILDFLAGS = 0
include /usr/share/dpkg/default.mk
-# main packaging script based on dh7 syntax
%:
- dh $@ --with autotools-dev
+ dh $@ --with autoreconf
+
+override_dh_autoreconf:
+ dh_autoreconf ./bootstrap
override_dh_auto_configure:
dh_auto_configure -- --enable-static
Since it's usually a good idea to call autoreconf when building packages, prefer that option instead of using the pre-built autoconf files with autotools-dev. Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org> --- pkg/debian/control | 2 +- pkg/debian/rules | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-)