Skip to content

Commit

Permalink
update doc installation directory
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek committed May 23, 2024
1 parent c0754f9 commit f949d2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,9 @@ endif()

# installation of examples if enabled
if(INSTALL_EXAMPLES)
install(DIRECTORY
${PROJECT_SOURCE_DIR}/docs/examples
DESTINATION ${CMAKE_INSTALL_DOCDIR}
install(
DIRECTORY "${PROJECT_SOURCE_DIR}/docs/examples"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/libstumpless"
)
endif()

Expand Down
2 changes: 1 addition & 1 deletion tools/cmake/install_html.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(HTML_BUILD_DIR "${PROJECT_BINARY_DIR}/docs/${STUMPLESS_LANGUAGE}/html")

install(DIRECTORY "${HTML_BUILD_DIR}"
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/libstumpless"
)

0 comments on commit f949d2e

Please sign in to comment.