Permalink
Browse files

Install the built HTML documentation.

This basically is to support proper packaging.
  • Loading branch information...
hasselmm committed May 7, 2012
1 parent f9fde5c commit 63f1f7f5551999c31a96897dbf25dd71e491ee10
Showing with 6 additions and 1 deletion.
  1. +6 −1 cmake/Lucene++Docs.cmake
View
@@ -138,7 +138,12 @@ IF (ENABLE_DOCS)
)
ENDIF ( TAR AND GZIP )
- #install man if it was built
+ #install HTML pages if they were built
+ IF ( DOCS_HTML AND NOT WIN32 )
+ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/html/ DESTINATION share/doc/lucene++-${LUCENE++_VERSION})
+ ENDIF ( DOCS_HTML AND NOT WIN32 )
+
+ #install man pages if they were built
IF ( DOCS_MAN )
INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/man/ DESTINATION man)
ENDIF ( DOCS_MAN )

0 comments on commit 63f1f7f

Please sign in to comment.