mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
build: make helphtml
This commit is contained in:
4
Makefile
4
Makefile
@@ -103,6 +103,10 @@ endif
|
|||||||
helptags: | nvim
|
helptags: | nvim
|
||||||
+$(BUILD_CMD) -C build helptags
|
+$(BUILD_CMD) -C build helptags
|
||||||
|
|
||||||
|
# Builds help HTML _and_ checks for invalid help tags.
|
||||||
|
helphtml: | nvim helptags
|
||||||
|
+$(BUILD_CMD) -C build doc_html
|
||||||
|
|
||||||
functionaltest: | nvim
|
functionaltest: | nvim
|
||||||
+$(BUILD_CMD) -C build functionaltest
|
+$(BUILD_CMD) -C build functionaltest
|
||||||
|
|
||||||
|
@@ -68,9 +68,9 @@ foreach(DF ${DOCFILES})
|
|||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_custom_target(helptags
|
add_custom_target(helptags
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove ${GENERATED_RUNTIME_DIR}/doc/*
|
COMMAND ${CMAKE_COMMAND} -E remove doc/*
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
${PROJECT_SOURCE_DIR}/runtime/doc ${GENERATED_RUNTIME_DIR}/doc
|
${PROJECT_SOURCE_DIR}/runtime/doc doc
|
||||||
COMMAND "${PROJECT_BINARY_DIR}/bin/nvim"
|
COMMAND "${PROJECT_BINARY_DIR}/bin/nvim"
|
||||||
-u NONE -i NONE -e --headless -c "helptags ++t doc" -c quit
|
-u NONE -i NONE -e --headless -c "helptags ++t doc" -c quit
|
||||||
DEPENDS
|
DEPENDS
|
||||||
@@ -87,7 +87,7 @@ add_custom_command(OUTPUT ${GENERATED_HELP_TAGS}
|
|||||||
add_custom_target(doc_html
|
add_custom_target(doc_html
|
||||||
COMMAND make html
|
COMMAND make html
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${GENERATED_HELP_TAGS}
|
helptags
|
||||||
WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}/doc"
|
WORKING_DIRECTORY "${GENERATED_RUNTIME_DIR}/doc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user