mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
e21a5034bc
CMake 3.5 (shipped in Ubuntu Xenial) doesn't generate the test target with appropriate dependencies. Build them in dh_auto_build; it's too hard to convince any of the other steps to do it. See #7851.
26 lines
796 B
Makefile
Executable File
26 lines
796 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# Setting the build system is still required, because otherwise the GNUmakefile gets picked up
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --buildsystem=cmake --parallel
|
|
|
|
# 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
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs --link-doc=fish
|
|
|
|
# Still needed until all platforms have debhelper 9.20151219
|
|
# Consider transitioning https://wiki.debian.org/DebugPackage
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=fish-dbg
|