summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/Makefile.am4
-rw-r--r--data/org.freedesktop.Telepathy.ConnectionManager.salut.service.in2
-rw-r--r--src/Makefile.am2
3 files changed, 4 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c0b69296..caa02fd5 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,9 +13,9 @@ CLEANFILES = $(BUILT_FILES)
EXTRA_DIST = $(service_in_files)
-# Rule to make the service file with bindir expanded
+# Rule to make the service file with libexecdir expanded
$(service_DATA): $(service_in_files) Makefile
- @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
+ @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
$(manager_DATA): always-build
$(MAKE) -C ../src write-mgr-file
diff --git a/data/org.freedesktop.Telepathy.ConnectionManager.salut.service.in b/data/org.freedesktop.Telepathy.ConnectionManager.salut.service.in
index f9cd05d0..322aea76 100644
--- a/data/org.freedesktop.Telepathy.ConnectionManager.salut.service.in
+++ b/data/org.freedesktop.Telepathy.ConnectionManager.salut.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.Telepathy.ConnectionManager.salut
-Exec=@bindir@/telepathy-salut
+Exec=@libexecdir@/telepathy-salut
diff --git a/src/Makefile.am b/src/Makefile.am
index 56b98326..85187216 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,7 @@ CLEANFILES = $(BUILT_SOURCES)
dist-hook:
$(shell for x in $(BUILT_SOURCES); do rm -f $(distdir)/$$x ; done)
-bin_PROGRAMS=telepathy-salut
+libexec_PROGRAMS=telepathy-salut
noinst_PROGRAMS = write-mgr-file
CORE_SOURCES = \