MESSAGE(STATUS "Now installing Doc set <@DOCSET@> ...")
SET(HTMLGEN @genhtml@)
IF (HTMLGEN)
   MESSAGE(STATUS "Installing HTML output for Doc set <@DOCSET@>...")      
   EXECUTE_PROCESS(COMMAND @CMAKE_COMMAND@ -E copy_directory @DoxyTools_OUTPUT_DIR@/html $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/doc/certi/@DOCSET@/html)
ENDIF (HTMLGEN)

SET(PDFGEN @genpdf@)
IF (PDFGEN)
	MESSAGE(STATUS "Installing PDF output for Doc set <@DOCSET@>...")
	EXECUTE_PROCESS(COMMAND @CMAKE_COMMAND@ -E copy @DoxyTools_OUTPUT_DIR@/latex/refman.pdf $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/doc/certi/@DOCSET@/CERTI_@DOCSET@.pdf)
ENDIF (PDFGEN)
MESSAGE(STATUS "Doc set <@DOCSET@> installed.")