From: Quentin Glidic <[email protected]>

Signed-off-by: Quentin Glidic <[email protected]>
---
 clients/Makefile.am      | 2 +-
 src/Makefile.am          | 2 +-
 src/screenshooter.c      | 2 +-
 src/shell.c              | 2 +-
 src/tablet-shell.c       | 2 +-
 src/text-backend.c       | 2 +-
 src/xwayland/Makefile.am | 2 --
 7 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/clients/Makefile.am b/clients/Makefile.am
index 0b6b5ea..1fd5c2a 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -15,7 +15,7 @@ else
 noinst_PROGRAMS = $(demo_clients)
 endif
 
-libexec_PROGRAMS =                             \
+pkglibexec_PROGRAMS =                          \
        $(desktop_shell)                        \
        $(tablet_shell)                         \
        $(screenshooter)                        \
diff --git a/src/Makefile.am b/src/Makefile.am
index 7bbc7ba..74dc152 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS =                                   \
        -I$(top_srcdir)/shared                  \
        -DPKGDATADIR='"$(pkgdatadir)"'          \
        -DMODULEDIR='"$(moduledir)"'            \
-       -DLIBEXECDIR='"$(libexecdir)"'          \
+       -DPKGLIBEXECDIR='"$(pkglibexecdir)"'    \
        -DIN_WESTON
 
 weston_LDFLAGS = -export-dynamic
diff --git a/src/screenshooter.c b/src/screenshooter.c
index 645114d..b91c6ac 100644
--- a/src/screenshooter.c
+++ b/src/screenshooter.c
@@ -248,7 +248,7 @@ screenshooter_binding(struct weston_seat *seat, uint32_t 
time, uint32_t key,
                      void *data)
 {
        struct screenshooter *shooter = data;
-       const char *screenshooter_exe = LIBEXECDIR "/weston-screenshooter";
+       const char *screenshooter_exe = PKGLIBEXECDIR "/weston-screenshooter";
 
        if (!shooter->client)
                shooter->client = weston_client_launch(shooter->ec,
diff --git a/src/shell.c b/src/shell.c
index 9663870..4577dfb 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3858,7 +3858,7 @@ static void
 launch_desktop_shell_process(void *data)
 {
        struct desktop_shell *shell = data;
-       const char *shell_exe = LIBEXECDIR "/weston-desktop-shell";
+       const char *shell_exe = PKGLIBEXECDIR "/weston-desktop-shell";
 
        shell->child.client = weston_client_launch(shell->compositor,
                                                 &shell->child.process,
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index 5e92678..9ea9e18 100644
--- a/src/tablet-shell.c
+++ b/src/tablet-shell.c
@@ -403,7 +403,7 @@ static const struct tablet_shell_interface 
tablet_shell_implementation = {
 static void
 launch_ux_daemon(struct tablet_shell *shell)
 {
-       const char *shell_exe = LIBEXECDIR "/weston-tablet-shell";
+       const char *shell_exe = PKGLIBEXECDIR "/weston-tablet-shell";
 
        shell->client = weston_client_launch(shell->compositor,
                                           &shell->process,
diff --git a/src/text-backend.c b/src/text-backend.c
index 37dfb75..0b7887e 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -918,7 +918,7 @@ text_backend_configuration(struct text_backend 
*text_backend)
                                            "input-method", NULL, NULL);
        weston_config_section_get_string(section, "path",
                                         &text_backend->input_method.path,
-                                        LIBEXECDIR "/weston-keyboard");
+                                        PKGLIBEXECDIR "/weston-keyboard");
 }
 
 static void
diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am
index 2cf5615..9f47f3d 100644
--- a/src/xwayland/Makefile.am
+++ b/src/xwayland/Makefile.am
@@ -2,8 +2,6 @@ AM_CPPFLAGS =                                   \
        -I$(top_srcdir)/shared                  \
        -I$(top_builddir)/src                   \
        -DPKGDATADIR='"$(pkgdatadir)"'          \
-       -DMODULEDIR='"$(moduledir)"'            \
-       -DLIBEXECDIR='"$(libexecdir)"'          \
        -DXSERVER_PATH='"@XSERVER_PATH@"'
 
 # moduledir is defined in configure.ac
-- 
1.8.4.1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to