2015-07-02 15:06:05 +08:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
|
|
|
|
%:
|
2018-03-04 23:07:33 +08:00
|
|
|
dh $@
|
|
|
|
|
2020-02-16 20:58:27 +08:00
|
|
|
# Setting the build system is still required, because otherwise the GNUmakefile gets picked up
|
2018-03-04 23:07:33 +08:00
|
|
|
override_dh_auto_configure:
|
2021-09-16 20:58:45 +08:00
|
|
|
dh_auto_configure --buildsystem=cmake
|
2015-07-02 15:06:05 +08:00
|
|
|
|
2021-09-14 22:05:08 +08: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
|