summaryrefslogtreecommitdiffstats
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 1dfc834..bec89cf 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,9 +1,9 @@
# Data directory
-SET(DATADIR ${KDE3DATADIR}/rosegarden)
-SET(ICONDIR ${KDE3ICONDIR})
-SET(MIMEDIR ${KDE3MIMEDIR}/audio)
-SET(MENUDIR ${KDE3MENUDIR})
+SET(DATADIR ${DATA_INSTALL_DIR}/rosegarden)
+SET(ICONDIR ${ICON_INSTALL_DIR})
+SET(MIMEDIR ${MIME_INSTALL_DIR}/audio)
+SET(MENUDIR ${XDG_MENU_INSTALL_DIR})
# Guitar chord files
FILE(GLOB CHORD_FILES chords/*.xml)
@@ -80,7 +80,7 @@ INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/toolbar)
FILE(GLOB PIXMAP_FILES pixmaps/transport/*.xpm pixmaps/transport/*.png)
INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/transport)
-# Splash
+# Splash
INSTALL(FILES pixmaps/splash.png DESTINATION ${DATADIR}/pixmaps)
# Examples
@@ -114,12 +114,12 @@ SET(EXAMPLE_FILES
examples/vivaldi-cs3mv2.rg
examples/vivaldi_op44_11_1.rg )
-INSTALL(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples)
+INSTALL(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples)
INSTALL(FILES examples/autoload.rg DESTINATION ${DATADIR})
-# Library
+# Library
FILE(GLOB RGD_FILES library/*.rgd)
INSTALL(FILES ${RGD_FILES} DESTINATION ${DATADIR}/library)
# KDE LIRC Profile
-INSTALL(FILES profile/rosegarden.profile.xml DESTINATION ${KDE3DATADIR}/profiles)
+INSTALL(FILES profile/rosegarden.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles)