2015-07-02 07:06:05 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
|
|
|
|
%:
|
2018-03-04 15:07:33 +00:00
|
|
|
dh $@
|
|
|
|
|
2020-02-16 12:58:27 +00:00
|
|
|
# Setting the build system is still required, because otherwise the GNUmakefile gets picked up
|
2018-03-04 15:07:33 +00:00
|
|
|
override_dh_auto_configure:
|
2020-02-14 15:28:13 +00:00
|
|
|
dh_auto_configure --buildsystem=cmake --parallel
|
2015-07-02 07:06:05 +00:00
|
|
|
|
2021-09-14 14:05:08 +00:00
|
|
|
# On CMake 3.5 (and possibly 3.6), the test target does not pick up its dependencies properly
|
|
|
|
# Build fish_tests/tests_buildroot_target by hand (remove this once Ubuntu Xenial is out of support)
|
|
|
|
override_dh_auto_build:
|
|
|
|
dh_auto_build -- all fish_tests tests_buildroot_target
|
|
|
|
|
2015-07-02 07:06:05 +00:00
|
|
|
override_dh_installdocs:
|
|
|
|
dh_installdocs --link-doc=fish
|
|
|
|
|
2017-01-07 09:53:57 +00:00
|
|
|
# Still needed until all platforms have debhelper 9.20151219
|
|
|
|
# Consider transitioning https://wiki.debian.org/DebugPackage
|
2015-07-02 07:06:05 +00:00
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --dbg-package=fish-dbg
|