aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-07-05 04:14:13 +0000
committerTarmac <Unknown>2013-07-05 04:14:13 +0000
commitcfbd125752a2d83a980fbfa96d6669f78296aff8 (patch)
tree743ccab699394b5600b99e8fde0860bf86401b98
parente1166c96fead4821a5ebc950c345a13333f5c2d6 (diff)
parent2ca78c7ed1dcb93ff93a04f0b43c389bfea076a3 (diff)
downloadayatana-indicator-power-cfbd125752a2d83a980fbfa96d6669f78296aff8.tar.gz
ayatana-indicator-power-cfbd125752a2d83a980fbfa96d6669f78296aff8.tar.bz2
ayatana-indicator-power-cfbd125752a2d83a980fbfa96d6669f78296aff8.zip
Put service into libexecir.
Approved by PS Jenkins bot, Ted Gould.
-rw-r--r--data/Makefile.am2
-rw-r--r--data/indicator-power.service.in2
-rw-r--r--src/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 289a1f1..68cd662 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -17,7 +17,7 @@ dbus_servicesdir = $(datadir)/dbus-1/services
dbus_services_DATA = indicator-power.service
dbus_services_in = $(dbus_services_DATA:.service=.service.in)
$(dbus_services_DATA): $(dbus_services_in)
- $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+ $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
BUILT_SOURCES += $(dbus_services_DATA)
CLEANFILES += $(dbus_services_DATA)
EXTRA_DIST += $(dbus_services_in)
diff --git a/data/indicator-power.service.in b/data/indicator-power.service.in
index c59c69e..0702e8b 100644
--- a/data/indicator-power.service.in
+++ b/data/indicator-power.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=com.canonical.indicator.power
-Exec=@libexecdir@/indicator-power-service
+Exec=@pkglibexecdir@/indicator-power-service
diff --git a/src/Makefile.am b/src/Makefile.am
index 8495233..fa51089 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -71,7 +71,7 @@ libindicatorpower_service_a_CFLAGS = $(SHARED_CFLAGS) -Wno-missing-field-initial
###
###
-libexec_PROGRAMS = indicator-power-service
+pkglibexec_PROGRAMS = indicator-power-service
indicator_power_service_SOURCES = main.c