summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am5
-rw-r--r--src/org.freedesktop.Telepathy.Client.SSHContact.service.in2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c15ad31..3e1810c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,8 @@ AM_CFLAGS = -Wall -g -Werror
LDADD = $(SSH_CONTACT_LIBS)
-bin_PROGRAMS = ssh-contact ssh-contact-service
+bin_PROGRAMS = ssh-contact
+libexec_PROGRAMS = ssh-contact-service
ssh_contact_SOURCES = \
common.c common.h \
@@ -25,7 +26,7 @@ servicefile_in_files = \
servicefile_DATA = $(servicefile_in_files:.service.in=.service)
org.freedesktop.Telepathy.Client.SSHContact.service: org.freedesktop.Telepathy.Client.SSHContact.service.in
- $(AM_V_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@
+ $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
clientfiledir = $(datarootdir)/telepathy/clients
clientfile_DATA = \
diff --git a/src/org.freedesktop.Telepathy.Client.SSHContact.service.in b/src/org.freedesktop.Telepathy.Client.SSHContact.service.in
index 6b8bd31..5887cbd 100644
--- a/src/org.freedesktop.Telepathy.Client.SSHContact.service.in
+++ b/src/org.freedesktop.Telepathy.Client.SSHContact.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.Telepathy.Client.SSHContact
-Exec=@bindir@/ssh-contact-service
+Exec=@libexecdir@/ssh-contact-service