mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:13:15 +08:00
430d82bd4f
Ubuntu 12.04 is EoL in three months' time and producing working binaries that are easily installable has proven impossible.
31 lines
839 B
Makefile
Executable File
31 lines
839 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
export DH_VERBOSE=1
|
|
|
|
# dpkg-dev 1.16.1 doesn't export buildflags
|
|
# can be removed once on dh compat level 9
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
-include /usr/share/dpkg/buildflags.mk
|
|
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
|
|
endif
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs --link-doc=fish
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=fish-dbg
|
|
|
|
# Don't run tests; they don't work until fish is installed
|
|
override_dh_auto_test:
|