# HG changeset patch # User Myhailo Danylenko # Date 1264016614 -7200 # Node ID 707809a378e056dc4beaf7c30efb77e2402f3789 # Parent 7eb2b2d83cfcd3d8b0cd51a68fa70b6146eb8754 Fix documentation installation path diff -r 7eb2b2d83cfc -r 707809a378e0 CMakeLists.txt --- a/CMakeLists.txt Sun Jan 17 12:48:57 2010 +0200 +++ b/CMakeLists.txt Wed Jan 20 21:43:34 2010 +0200 @@ -39,11 +39,6 @@ include_directories(${templatecmd_SOURCE_DIR} ${templatecmd_BINARY_DIR}) -## Installation -install(TARGETS templatecmd DESTINATION lib/mcabber) -install(FILES templatecmd.rc TODO README COPYING DESTINATION share/doc/${CPACK_PACKAGE_NAME}) -install(DIRECTORY help DESTINATION share/mcabber) - ## Packaging information set(CPACK_PACKAGE_NAME libmcabber-templatecmd) set(CPACK_PACKAGE_VERSION "0.0.1") @@ -64,4 +59,9 @@ set(CPACK_SOURCE_IGNORE_FILES "/\\\\..*;\\\\.swp;~$;/build/;\\\\.tar\\\\.;\\\\.deb;\\\\.so") include(CPack) +## Installation +install(TARGETS templatecmd DESTINATION lib/mcabber) +install(FILES templatecmd.rc TODO README COPYING DESTINATION share/doc/${CPACK_PACKAGE_NAME}) +install(DIRECTORY help DESTINATION share/mcabber) + ## The End ## vim: se ts=4: ##