mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
24 lines
716 B
Makefile
Executable file
24 lines
716 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:
|
|
ln -s cargo-vendor/vendor vendor
|
|
ln -s cargo-vendor/.cargo .cargo
|
|
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
override_dh_clean:
|
|
dh_clean
|
|
-unlink .cargo
|
|
-unlink vendor
|
|
|
|
# On CMake 3.5 (and possibly 3.6), the test target does not pick up its dependencies properly
|
|
# Build tests_buildroot_target by hand (remove this once Ubuntu Xenial is out of support)
|
|
override_dh_auto_build:
|
|
dh_auto_build -- all tests_dir funcs_dir tests_buildroot_target
|