From bbffe6b910eb52afa2da41f24b8bbf9eaebfe170 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 26 Jun 2016 12:03:38 +0200 Subject: [PATCH] generate configure at build time --- debian/control | 6 +++++- debian/rules | 7 ++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 150dd02..154d584 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,11 @@ Priority: optional Maintainer: Debian VoIP Team Uploaders: Tzafrir Cohen , Mark Purcell # groff, man-db and asciidoc are required for generating documentation -Build-Depends: debhelper (>= 9), autotools-dev, +Build-Depends: debhelper (>= 9), + autoconf, + automake, + dh-autoreconf, + pkg-config, dahdi-source (>= 1:2.7), libnewt-dev, bzip2, libusb-dev, asciidoc, groff, man-db Standards-Version: 3.9.4 Homepage: http://www.asterisk.org/ diff --git a/debian/rules b/debian/rules index c4a7e64..7649b33 100755 --- a/debian/rules +++ b/debian/rules @@ -22,13 +22,10 @@ FILENAME := $(PACKAGE_SRC)_$(DEB_BASE_VERSION).orig.tar.gz URL := http://downloads.asterisk.org/pub/telephony/$(PACKAGE_SRC)/releases/$(PACKAGE_SRC)-$(UPVERSION).tar.gz %: - dh $@ --wth autotools_dev - -override_dh_auto_configure: - dh_auto_configure -- --enable-pinned + dh $@ --with autoreconf override_dh_auto_build: - $(MAKE) programs docs + $(MAKE) all docs # FIXME: xpp/README.Astribank.html cp dahdi.rules debian/dahdi.udev