Skip to content

Commit 63f1f7f

Browse files
committed
Install the built HTML documentation.
This basically is to support proper packaging.
1 parent f9fde5c commit 63f1f7f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmake/Lucene++Docs.cmake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,12 @@ IF (ENABLE_DOCS)
138138
)
139139
ENDIF ( TAR AND GZIP )
140140

141-
#install man if it was built
141+
#install HTML pages if they were built
142+
IF ( DOCS_HTML AND NOT WIN32 )
143+
INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/html/ DESTINATION share/doc/lucene++-${LUCENE++_VERSION})
144+
ENDIF ( DOCS_HTML AND NOT WIN32 )
145+
146+
#install man pages if they were built
142147
IF ( DOCS_MAN )
143148
INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/man/ DESTINATION man)
144149
ENDIF ( DOCS_MAN )

0 commit comments

Comments
 (0)