summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2010-07-19 09:18:31 (GMT)
committerXavier Claessens <xclaesse@gmail.com>2010-07-19 09:20:27 (GMT)
commit960a245a7a5893fba20157bb8809838da9145ddc (patch)
tree9e910b27f4893ed2e8bfc81c2a3e43e140dd62a6
parent276533982073974fc0e41dd9b81b8e0dd33bcc17 (diff)
downloadtelepathy-ssh-contact-960a245a7a5893fba20157bb8809838da9145ddc.tar.gz
telepathy-ssh-contact-960a245a7a5893fba20157bb8809838da9145ddc.tar.xz
Install ssh-contact-service in libexec path
-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