install docs properly

This commit is contained in:
Ryan Pavlik
2011-05-02 12:39:56 -05:00
parent 32a5ba307a
commit 7baa20db2a

View File

@@ -60,8 +60,6 @@ if(BUILD_EXAMPLE_SDL)
add_subdirectory(example-sdl)
endif()
# Documentation
add_doxygen(Doxyfile)
###
# Set packaging options (for CPack)
@@ -73,6 +71,12 @@ else()
set(DOC_DIR share/doc/wiiuse)
endif()
# Documentation
add_doxygen(Doxyfile
INSTALL_DESTINATION ${DOC_DIR}
INSTALL_COMPONENT docs
NO_PDF)
install(FILES
CHANGELOG
LICENSE