From b9b59be816344a2239647d225d13b2eea87cbea6 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 25 Jan 2017 09:18:15 +0100 Subject: [PATCH] CMakeLists.txt: Inline some once-used variables Signed-off-by: Uli Schlachter --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 677f43f1..5fd05c9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,6 @@ include_directories( set(CHECK_TARGETS check-integration) -set(AWE_CONF_FILE_DEFAULT ${BUILD_DIR}/awesomerc.lua) -set(AWE_CONF_FILE rc.lua) - set(AWE_ICON_DIR ${SOURCE_DIR}/icons) set(AWE_THEMES_DIR ${SOURCE_DIR}/themes) @@ -354,8 +351,8 @@ install(TARGETS ${PROJECT_AWE_NAME} RUNTIME DESTINATION bin) install(FILES "utils/awesome-client" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) install(DIRECTORY ${BUILD_DIR}/lib DESTINATION ${AWESOME_DATA_PATH} PATTERN "*.in" EXCLUDE) -install(FILES ${AWE_CONF_FILE_DEFAULT} DESTINATION ${AWESOME_SYSCONFDIR} - RENAME ${AWE_CONF_FILE}) +install(FILES ${BUILD_DIR}/awesomerc.lua DESTINATION ${AWESOME_SYSCONFDIR} + RENAME rc.lua) if(GENERATE_MANPAGES) if(COMPRESS_MANPAGES) set(regex "\\.(xml|txt|[0-9])$")