Use common rules for build and install documentation.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 3 years ago
parent b23da3e430
commit cb952883c9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -70,7 +70,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( part ) add_subdirectory( part )
add_subdirectory( ${PROJECT_NAME} ) add_subdirectory( ${PROJECT_NAME} )
tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )

@ -1 +0,0 @@
tde_auto_add_subdirectories( )

@ -1,2 +0,0 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} )

@ -1,5 +0,0 @@
INSTALL(
FILES ${PROJECT_NAME}.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)
Loading…
Cancel
Save