debian packaging: drop support for Debian 7

Debian 7 (wheezy) is EoL and producing working binaries that are easily
installable has proven impossible.
This commit is contained in:
David Adam 2017-01-07 16:57:27 +08:00
parent 6f8775499f
commit 6c3f12fe24

7
debian/rules vendored
View File

@ -10,15 +10,8 @@ DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk -include /usr/share/dpkg/buildflags.mk
DEB_DISTRIBUTION = $(shell dpkg-parsechangelog | sed -n -e 's/^Distribution: //p') DEB_DISTRIBUTION = $(shell dpkg-parsechangelog | sed -n -e 's/^Distribution: //p')
# Debian 7 has a version of Automake too old
# to support autoreconf; just use the tarball-shipped versions
# Can be removed once we stop shipping on these versions
%: %:
ifeq ($(findstring 7, $(shell cat /etc/debian_version)), 7)
dh $@ --with autotools-dev
else
dh $@ --with autotools-dev,autoreconf dh $@ --with autotools-dev,autoreconf
endif
override_dh_installdocs: override_dh_installdocs:
dh_installdocs --link-doc=fish dh_installdocs --link-doc=fish