aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2022-06-22 20:24:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-06-24 23:51:40 +0200
commitc307d59ee771e41fc71d3b8398bef03a879747de (patch)
tree40bafb72f8c715d58d60645e5e6a65c591b59ab5 /data
parente66631bf7a64551a5fefdf112dff24a6768c9ca7 (diff)
downloadayatana-indicator-keyboard-c307d59ee771e41fc71d3b8398bef03a879747de.tar.gz
ayatana-indicator-keyboard-c307d59ee771e41fc71d3b8398bef03a879747de.tar.bz2
ayatana-indicator-keyboard-c307d59ee771e41fc71d3b8398bef03a879747de.zip
data/CMakeLists.txt: create dbus-1/interfaces datadir subdirectory before trying to create a symlink into it.
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 67c531ff..39bd0458 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -42,6 +42,7 @@ install (DIRECTORY icons/scalable DESTINATION "${ICON_DIR}" FILES_MATCHING PATTE
# org.ayatana.indicator.keyboard.AccountsService.xml
install(FILES org.ayatana.indicator.keyboard.AccountsService.xml DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/dbus-1/interfaces")
+install(DIRECTORY DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/accountsservice/interfaces/")
install(CODE "message(STATUS \"Symlinking: \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/accountsservice/interfaces/org.ayatana.indicator.keyboard.AccountsService.xml\")")
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ../../dbus-1/interfaces/org.ayatana.indicator.keyboard.AccountsService.xml \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/accountsservice/interfaces/org.ayatana.indicator.keyboard.AccountsService.xml)")