Lines 1-14
Link Here
|
1 |
--- ./CMakeLists.txt.orig 2008-03-13 00:09:49.000000000 +0300 |
1 |
--- CMakeLists.txt.orig 2018-06-17 19:56:07 UTC |
2 |
+++ ./CMakeLists.txt 2009-04-25 21:48:15.000000000 +0400 |
2 |
+++ CMakeLists.txt |
3 |
@@ -19,10 +19,4 @@ |
3 |
@@ -76,5 +76,8 @@ set (CPACK_SOURCE_IGNORE_FILES |
|
|
4 |
"${CMAKE_CURRENT_BINARY_DIR};/.git/;~$;${CPACK_SOURCE_IGNORE_FILES}") |
5 |
include (CPack) |
4 |
|
6 |
|
5 |
install(FILES cutecom.1 DESTINATION man/man1 ) |
7 |
+install(FILES cutecom.desktop DESTINATION share/applications) |
|
|
8 |
+install(FILES cutecom.1 DESTINATION man/man1 ) |
9 |
+ |
10 |
add_custom_target(dist COMMAND git archive --format tar --prefix=cutecom-${CuteCom_VERSION}/ HEAD | gzip > ${CMAKE_CURRENT_BINARY_DIR}/${CPACK_SOURCE_PACKAGE_FILE_NAME}.tgz WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) |
6 |
|
11 |
|
7 |
-find_program(KDECONFIG_EXECUTABLE NAMES kde-config ) |
|
|
8 |
- |
9 |
-if (KDECONFIG_EXECUTABLE) |
10 |
- # then ask kde-config for the kde data dirs |
11 |
- exec_program(${KDECONFIG_EXECUTABLE} ARGS --install apps --expandvars OUTPUT_VARIABLE _apps_DIR ) |
12 |
- install(FILES cutecom.desktop DESTINATION ${_apps_DIR}/Utilities) |
13 |
-endif (KDECONFIG_EXECUTABLE) |
14 |
+install(FILES cutecom.desktop DESTINATION share/applications) |