contrib: add AppStream metadata
[libam7xxx.git] / doc / CMakeLists.txt
index 6ccf100..0335a2e 100644 (file)
@@ -17,7 +17,7 @@ if(DOXYGEN_FOUND)
   install(CODE "execute_process(COMMAND ${CMAKE_BUILD_TOOL} doc)")
 
   install(DIRECTORY ${DOC_OUTPUT_PATH}/html
   install(CODE "execute_process(COMMAND ${CMAKE_BUILD_TOOL} doc)")
 
   install(DIRECTORY ${DOC_OUTPUT_PATH}/html
-    DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/${CMAKE_PROJECT_NAME}"
+    DESTINATION ${CMAKE_INSTALL_DOCDIR}
     COMPONENT doc)
 
 endif(DOXYGEN_FOUND)
     COMPONENT doc)
 
 endif(DOXYGEN_FOUND)