generate configure at build time

This commit is contained in:
Tzafrir Cohen 2016-06-26 12:03:38 +02:00
parent 08e710ef27
commit bbffe6b910
2 changed files with 7 additions and 6 deletions

6
debian/control vendored
View File

@ -4,7 +4,11 @@ Priority: optional
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Uploaders: Tzafrir Cohen <tzafrir@debian.org>, Mark Purcell <msp@debian.org>
# 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/

7
debian/rules vendored
View File

@ -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