diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-11-08 02:58:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-11-08 03:02:38 +0100 |
commit | 3dd9fca200d121517a7ba25ad8ba9a0a98b320a7 (patch) | |
tree | de56b56db52be534aa06263530ed495349cace86 /cervisia | |
parent | 59a2f3d91922f06ca842abb8680fade79994d4ec (diff) | |
download | tdesdk-3dd9fca200d121517a7ba25ad8ba9a0a98b320a7.tar.gz tdesdk-3dd9fca200d121517a7ba25ad8ba9a0a98b320a7.zip |
Fix various cmake build issues
Fix automake build issue in kapptemplate
Diffstat (limited to 'cervisia')
-rw-r--r-- | cervisia/CMakeLists.txt | 18 | ||||
-rw-r--r-- | cervisia/cvsservice/CMakeLists.txt | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/cervisia/CMakeLists.txt b/cervisia/CMakeLists.txt index 620cb602..b4f6f7c3 100644 --- a/cervisia/CMakeLists.txt +++ b/cervisia/CMakeLists.txt @@ -58,6 +58,24 @@ install( PROGRAMS DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) +macro( _pod2man ) + foreach( _pod ${ARGN} ) + add_custom_command( + OUTPUT ${_pod}.1 + COMMAND pod2man ${CMAKE_CURRENT_SOURCE_DIR}/${_pod}.pod > ${_pod}.1.in + COMMAND + sed -e 's%_KDEHTMLDIR_%'${HTML_INSTALL_DIR}'%g;' + -e 's%_KDECONFDIR_%'${CONFIG_INSTALL_DIR}'%g;' + < ${_pod}.1.in > ${_pod}.1 + DEPENDS ${_pod}.pod ) + add_custom_target( "${_pod}-man" ALL DEPENDS ${_pod}.1 ) + install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${_pod}.1 DESTINATION ${MAN_INSTALL_DIR}/man1 ) + endforeach( ) +endmacro() + +_pod2man( cervisia ) + + ##### cervisia (static) ######################### tde_add_library( cervisia STATIC_PIC AUTOMOC diff --git a/cervisia/cvsservice/CMakeLists.txt b/cervisia/cvsservice/CMakeLists.txt index b445994f..cfb739cf 100644 --- a/cervisia/cvsservice/CMakeLists.txt +++ b/cervisia/cvsservice/CMakeLists.txt @@ -41,7 +41,7 @@ install( FILES tde_add_library( cvsservice SHARED AUTOMOC SOURCES cvsservice.stub cvsjob.stub repository.stub - VERSION 0.1.0 + VERSION 0.0.1 LINK tdecore-shared DESTINATION ${LIB_INSTALL_DIR} ) |