diff options
Diffstat (limited to 'sysutils/conky/files/patch-CMakeLists.txt')
-rw-r--r-- | sysutils/conky/files/patch-CMakeLists.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sysutils/conky/files/patch-CMakeLists.txt b/sysutils/conky/files/patch-CMakeLists.txt index 72d5a7d5b727..e8131e7911a6 100644 --- a/sysutils/conky/files/patch-CMakeLists.txt +++ b/sysutils/conky/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2019-06-23 14:50:35 UTC +--- CMakeLists.txt.orig 2022-10-12 18:18:08 UTC +++ CMakeLists.txt -@@ -72,9 +72,12 @@ if(BUILD_TESTS) +@@ -73,11 +73,14 @@ if(NOT DEFINED DOC_PATH) endif() if(NOT DEFINED DOC_PATH) @@ -13,18 +13,8 @@ +endif(NOT DEFINED SAMPLE_PATH) +set(SAMPLE_FILES extras/convert.lua data/conky_no_x11.conf data/conky.conf) - set(HTML_PATH "${DOC_PATH}/html") - set(HTML_FILES -@@ -83,10 +86,10 @@ set(HTML_FILES - doc/lua.html - doc/variables.html) - --set(MAN_PATH "share/man/man1") -+set(MAN_PATH "man/man1") - set(MAN_FILES doc/conky.1) - -install(FILES ${DOC_FILES} DESTINATION ${DOC_PATH}) +install(FILES ${SAMPLE_FILES} DESTINATION ${SAMPLE_PATH}) - if(BUILD_DOCS) - install(FILES ${HTML_FILES} DESTINATION ${HTML_PATH}) + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + install(FILES conky.desktop DESTINATION share/applications) |