projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb6f1e
)
doc: add an install target
author
Antonio Ospite <ospite@studenti.unina.it>
Wed, 7 Mar 2012 22:12:30 +0000
(23:12 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Wed, 7 Mar 2012 22:12:30 +0000
(23:12 +0100)
For now only Unix-style destinations are supported, we will abstract
them out when the need raises.
doc/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/doc/CMakeLists.txt
b/doc/CMakeLists.txt
index
81a7c45
..
ce111b2
100644
(file)
--- a/
doc/CMakeLists.txt
+++ b/
doc/CMakeLists.txt
@@
-8,4
+8,8
@@
if(DOXYGEN_FOUND)
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
+
+ install(DIRECTORY ${DOC_OUTPUT_PATH}/html
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/${CMAKE_PROJECT_NAME}")
+
endif(DOXYGEN_FOUND)