aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2016-01-01 19:25:16 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commitc7881a2d849191e1b6243da75ebf9140d29655cb (patch)
treec738ddc2d637b340ed660d1e4dd0cb706ee80276 /data/CMakeLists.txt
parent9b631e9353d206ab5c8bb64317f584024ebe0f4a (diff)
downloadayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.tar.gz
ayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.tar.bz2
ayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.zip
create a data/sounds/ directory in the repo to hold Low battery.ogg
We may be adding sounds for when we transition to battery charging/discharging, so set up a sounds/ directory now.
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index d6ffb35..2b8ab36 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -74,8 +74,6 @@ install (FILES "${AYATANA_INDICATOR_FILE}"
##
# where to install
-set (SOUNDS_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}/sounds")
-message (STATUS "${SOUNDS_DIR} is the Sound install dir")
-
-install (FILES "Low battery.ogg"
- DESTINATION "${SOUNDS_DIR}")
+set (DATA_HOME "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}")
+message (STATUS "${DATA_HOME} is the sounds/ install dir")
+install (DIRECTORY sounds DESTINATION ${DATA_HOME})