mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
debian packaging: manually build test infrastructure
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.
This commit is contained in:
parent
58124ad5d6
commit
e21a5034bc
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -11,6 +11,11 @@ export DH_VERBOSE=1
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user