Install generated syntax files

This commit is contained in:
Stefan Frijters
2025-04-21 12:22:03 +02:00
committed by Brenden Matthews
parent 4e6f4d952e
commit c67d8c27d1

View File

@@ -29,6 +29,7 @@ add_custom_target(conky.nanorc
${CMAKE_SOURCE_DIR}/doc/lua.yaml
${CMAKE_CURRENT_SOURCE_DIR}/nano/conky.nanorc.j2
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/nano/conky.nanorc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nano)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/vim/syntax)
add_custom_target(conkyrc.vim
ALL
@@ -40,3 +41,4 @@ add_custom_target(conkyrc.vim
${CMAKE_SOURCE_DIR}/doc/lua.yaml
${CMAKE_CURRENT_SOURCE_DIR}/vim/syntax/conkyrc.vim.j2
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vim/syntax/conkyrc.vim DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vim/syntax)