mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:13:15 +08:00
debian packaging: drop support for Ubuntu 12.04
Ubuntu 12.04 is EoL in three months' time and producing working binaries that are easily installable has proven impossible.
This commit is contained in:
parent
573916e5e2
commit
430d82bd4f
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -10,13 +10,11 @@ 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')
|
||||||
|
|
||||||
# Ubuntu 12.04 (precise) and Debian 7 have versions of Automake too old
|
# Debian 7 has a version of Automake too old
|
||||||
# to support autoreconf; just use the tarball-shipped versions
|
# to support autoreconf; just use the tarball-shipped versions
|
||||||
# Can be removed once we stop shipping on these versions
|
# Can be removed once we stop shipping on these versions
|
||||||
%:
|
%:
|
||||||
ifeq ($(DEB_DISTRIBUTION), precise)
|
ifeq ($(findstring 7, $(shell cat /etc/debian_version)), 7)
|
||||||
dh $@ --with autotools-dev
|
|
||||||
else ifeq ($(findstring 7, $(shell cat /etc/debian_version)), 7)
|
|
||||||
dh $@ --with autotools-dev
|
dh $@ --with autotools-dev
|
||||||
else
|
else
|
||||||
dh $@ --with autotools-dev,autoreconf
|
dh $@ --with autotools-dev,autoreconf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user