Browse Source

Use common rules to build and install documentation.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
v3.5.13-sru
Slávek Banko 12 months ago
parent
commit
39ec936b1f
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668
  1. 2
      CMakeLists.txt
  2. 0
      doc/man/ksshaskpass.1
  3. 11
      src/CMakeLists.txt

2
CMakeLists.txt

@ -63,7 +63,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### source directories ########################
add_subdirectory( src )
#tde_conditional_add_project_doc( BUILD_DOC )
tde_conditional_add_project_docs( BUILD_DOC )
#tde_conditional_add_project_translations( BUILD_TRANSLATIONS )

0
src/ksshaskpass.1 → doc/man/ksshaskpass.1

11
src/CMakeLists.txt

@ -24,14 +24,3 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
DESTINATION ${BIN_INSTALL_DIR}
)
##### other data
if( BUILD_DOC )
install(
FILES ${PROJECT_NAME}.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)
endif( )

Loading…
Cancel
Save