forked from termux/termux-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes termux#20221 also set a maintainer
- Loading branch information
Showing
4 changed files
with
55 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
diff -u -r ../neovim-0.3.2/runtime/CMakeLists.txt ./runtime/CMakeLists.txt | ||
--- ../neovim-0.3.2/runtime/CMakeLists.txt 2018-12-31 00:06:17.000000000 +0000 | ||
+++ ./runtime/CMakeLists.txt 2019-01-03 00:07:55.652628776 +0000 | ||
@@ -32,7 +32,7 @@ | ||
add_custom_target("${PACKNAME}-tags" | ||
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt | ||
index c171fab9e..fb87d04c4 100644 | ||
--- a/runtime/CMakeLists.txt | ||
+++ b/runtime/CMakeLists.txt | ||
@@ -33,7 +33,7 @@ foreach(PACKAGE ${PACKAGES}) | ||
add_custom_command(OUTPUT "${GENERATED_PACKAGE_DIR}/${PACKNAME}/doc/tags" | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory | ||
${PACKAGE} ${GENERATED_PACKAGE_DIR}/${PACKNAME} | ||
- COMMAND "${PROJECT_BINARY_DIR}/bin/nvim" | ||
- COMMAND $<TARGET_FILE:nvim_bin> | ||
+ COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" | ||
-u NONE -i NONE -e --headless -c "helptags doc" -c quit | ||
DEPENDS | ||
nvim | ||
@@ -71,7 +71,7 @@ | ||
COMMAND ${CMAKE_COMMAND} -E remove doc/* | ||
nvim_bin | ||
@@ -65,7 +65,7 @@ add_custom_command(OUTPUT ${GENERATED_HELP_TAGS} | ||
COMMAND ${CMAKE_COMMAND} -E remove_directory doc | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory | ||
${PROJECT_SOURCE_DIR}/runtime/doc doc | ||
- COMMAND "${PROJECT_BINARY_DIR}/bin/nvim" | ||
- COMMAND $<TARGET_FILE:nvim_bin> | ||
+ COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" | ||
-u NONE -i NONE -e --headless -c "helptags ++t doc" -c quit | ||
DEPENDS | ||
nvim | ||
nvim_bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt | ||
index 937cfaaa3..fbac79152 100644 | ||
--- a/src/nvim/CMakeLists.txt | ||
+++ b/src/nvim/CMakeLists.txt | ||
@@ -913,7 +913,7 @@ file(GLOB LUA_SOURCES CONFIGURE_DEPENDS | ||
) | ||
|
||
add_target(doc-vim | ||
- COMMAND $<TARGET_FILE:nvim_bin> -u NONE -l scripts/gen_vimdoc.lua | ||
+ COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" -u NONE -l scripts/gen_vimdoc.lua | ||
DEPENDS | ||
nvim | ||
${API_SOURCES} | ||
@@ -927,7 +927,7 @@ add_target(doc-vim | ||
) | ||
|
||
add_target(doc-eval | ||
- COMMAND $<TARGET_FILE:nvim_bin> -u NONE -l ${PROJECT_SOURCE_DIR}/scripts/gen_eval_files.lua | ||
+ COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" -u NONE -l ${PROJECT_SOURCE_DIR}/scripts/gen_eval_files.lua | ||
DEPENDS | ||
nvim | ||
${FUNCS_METADATA} | ||
@@ -942,7 +942,7 @@ add_custom_target(doc) | ||
add_dependencies(doc doc-vim doc-eval) | ||
|
||
add_target(lintdoc | ||
- COMMAND $<TARGET_FILE:nvim_bin> -u NONE -l scripts/lintdoc.lua | ||
+ COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" -u NONE -l scripts/lintdoc.lua | ||
DEPENDS ${DOCFILES} | ||
CUSTOM_COMMAND_ARGS USES_TERMINAL) | ||
add_dependencies(lintdoc nvim) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters