aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-02-11 16:48:10 +0100
committerRobert Tari <robert@tari.in>2022-02-11 16:48:10 +0100
commit7276ec3b8266e53529fc92aca6e239eb95548c6e (patch)
tree80a77eedd3549e1f3fee363b2fc6114dcd2b2e89 /data
parent3b04d065dfd52567836a4c9b624db4b694084a3a (diff)
downloadayatana-indicator-session-7276ec3b8266e53529fc92aca6e239eb95548c6e.tar.gz
ayatana-indicator-session-7276ec3b8266e53529fc92aca6e239eb95548c6e.tar.bz2
ayatana-indicator-session-7276ec3b8266e53529fc92aca6e239eb95548c6e.zip
Drop pkglibexecdir and use native CMake file configuration
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt2
-rw-r--r--data/ayatana-indicator-session.desktop.in2
-rw-r--r--data/ayatana-indicator-session.service.in2
3 files changed, 2 insertions, 4 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 10616a0..9d7fd2e 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -30,7 +30,6 @@ if (${SYSTEMD_FOUND})
set (SYSTEMD_USER_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SYSTEMD_USER_NAME}.in")
# build it
- set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
configure_file ("${SYSTEMD_USER_FILE_IN}" "${SYSTEMD_USER_FILE}")
# install it
@@ -52,7 +51,6 @@ set (XDG_AUTOSTART_FILE "${CMAKE_CURRENT_BINARY_DIR}/${XDG_AUTOSTART_NAME}")
set (XDG_AUTOSTART_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${XDG_AUTOSTART_NAME}.in")
# build it
-set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
configure_file ("${XDG_AUTOSTART_FILE_IN}" "${XDG_AUTOSTART_FILE}")
# install it
diff --git a/data/ayatana-indicator-session.desktop.in b/data/ayatana-indicator-session.desktop.in
index dffd22b..0309030 100644
--- a/data/ayatana-indicator-session.desktop.in
+++ b/data/ayatana-indicator-session.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=Ayatana Indicator Session
-Exec=@pkglibexecdir@/ayatana-indicator-session-service
+Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-session/ayatana-indicator-session-service
OnlyShowIn=Unity;MATE;XFCE;Budgie:GNOME;
NoDisplay=true
StartupNotify=false
diff --git a/data/ayatana-indicator-session.service.in b/data/ayatana-indicator-session.service.in
index fccae82..3ab4654 100644
--- a/data/ayatana-indicator-session.service.in
+++ b/data/ayatana-indicator-session.service.in
@@ -4,7 +4,7 @@ PartOf=graphical-session.target
PartOf=ayatana-indicators.target
[Service]
-ExecStart=@pkglibexecdir@/ayatana-indicator-session-service
+ExecStart=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-session/ayatana-indicator-session-service
Restart=on-failure
[Install]