gnucash-docs maint: Add an install target for html.
John Ralls
jralls at code.gnucash.org
Tue Aug 18 19:54:12 EDT 2020
Updated via https://github.com/Gnucash/gnucash-docs/commit/fd06fa21 (commit)
from https://github.com/Gnucash/gnucash-docs/commit/e0268667 (commit)
commit fd06fa21df847b4b70e797cb3221c4e2dee09808
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Aug 18 16:53:47 2020 -0700
Add an install target for html.
Needed for macOS bundling.
diff --git a/cmake/AddHtmlTarget.cmake b/cmake/AddHtmlTarget.cmake
index ea3dcd5..917b5b9 100644
--- a/cmake/AddHtmlTarget.cmake
+++ b/cmake/AddHtmlTarget.cmake
@@ -54,4 +54,7 @@ function (add_html_target docname lang entities figures)
add_dependencies(${docname}-html "${lang}-${docname}-html")
+ install(DIRECTORY ${BUILD_DIR}
+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/${lang}"
+ )
endfunction()
Summary of changes:
cmake/AddHtmlTarget.cmake | 3 +++
1 file changed, 3 insertions(+)
More information about the gnucash-changes
mailing list