rules 739 Bytes
Newer Older
David Adam's avatar
David Adam committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#!/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

%:
	dh [email protected] --with autotools-dev,autoreconf

override_dh_auto_install:
	dh_auto_install --destdir=debian/fish

override_dh_install:
	dh_install
	# Debian policy: use system JQuery
	ln -sf /usr/share/javascript/jquery/jquery.js $(CURDIR)/debian/fish/usr/share/fish/tools/web_config/jquery.js

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: