Ascendent/editorconfig/vim-completion.am
S David dcdc3ab3e0
Some checks failed
buildbot/Ascendent (FreeBSD) Build done.
buildbot/Ascendent (Alpine) Build done.
Add working execinfo backtrace, testing boost backtrace
2022-08-24 18:46:30 -04:00

21 lines
430 B
Plaintext

if HAVE_COMPILEDB
@abs_top_srcdir@/compile_commands.json:
rm -f @abs_top_srcdir@/compile_commands.json
make clean
compiledb `basename ${MAKE}` -j 1 all check
ln @top_builddir@/compile_commands.json @abs_top_srcdir@
phony_targets+= vim-completion
vim-completion: @abs_top_srcdir@/compile_commands.json
else
vim-completion:
echo "compiledb not found; vim-completion disabled"
endif
# vim: sts=4 ts=4 noet ft=automake :