# The help pages and the man page are generated by the maintainer (they used to
# come from txt2tags and xsltproc under MOO_DEV_MODE) and committed to the tree;
# the build only installs them.

file(GLOB help_files "${CMAKE_CURRENT_SOURCE_DIR}/help/*.html" "${CMAKE_CURRENT_SOURCE_DIR}/help/*.css")
file(GLOB help_images "${CMAKE_CURRENT_SOURCE_DIR}/help/img/*.png")

install(FILES ${help_files} DESTINATION "${MOO_HELP_DIR}")
install(FILES ${help_images} DESTINATION "${MOO_HELP_DIR}/img")

install(FILES built/medit.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
