mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)
It currently falls back to texlua if luajit doesn't exist. However, the documentation generation does not work with texlua. Instead use lua as a fall back instead.
This commit is contained in:
@@ -36,21 +36,13 @@ test_executable(){
|
|||||||
|
|
||||||
##! \brief sets the lua interpreter
|
##! \brief sets the lua interpreter
|
||||||
set_lua(){
|
set_lua(){
|
||||||
if test -z "${EXE}"
|
if test -z "${EXE}"; then
|
||||||
then
|
|
||||||
test_executable 'luajit'
|
test_executable 'luajit'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "${EXE}"
|
if test -z "${EXE}"; then
|
||||||
then
|
|
||||||
test_executable 'texlua'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "${EXE}"
|
|
||||||
then
|
|
||||||
test_executable 'lua'
|
test_executable 'lua'
|
||||||
fi
|
fi
|
||||||
#echo "final EXE=\"${EXE}\""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
##! \brief makes canonical name of file
|
##! \brief makes canonical name of file
|
||||||
|
Reference in New Issue
Block a user