aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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