aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac14
-rw-r--r--data/Makefile.am2
3 files changed, 1 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am
index 3ba6110..3544dc4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,4 @@ EXTRA_DIST = \
autogen.sh \
vapi/config.vapi
-DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
-
include $(top_srcdir)/Makefile.am.coverage
diff --git a/configure.ac b/configure.ac
index 706b998..5c0be0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,13 +48,6 @@ AC_SUBST(COVERAGE_CXXFLAGS)
AC_SUBST(COVERAGE_LDFLAGS)
###########################
-# Check to see if we're local
-###########################
-
-with_localinstall="no"
-AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)
-
-###########################
# Grab the GSettings Macros
###########################
@@ -64,13 +57,6 @@ GLIB_GSETTINGS
# DBus Service Info
###########################
-if test "x$with_localinstall" = "xyes"; then
- DBUSSERVICEDIR="${datadir}/dbus-1/services/"
-else
- DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
-fi
-AC_SUBST(DBUSSERVICEDIR)
-
AC_ARG_WITH([indicator-dir],
[AS_HELP_STRING([--with-indicator-dir=DIR], [Indicator directory [default=$datadir/unity/indicators]])],
[],
diff --git a/data/Makefile.am b/data/Makefile.am
index a64dff4..5160dd9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,7 +2,7 @@ gsettings_SCHEMAS = \
com.canonical.indicator.sound.gschema.xml
@GSETTINGS_RULES@
-dbus_servicesdir = $(DBUSSERVICEDIR)
+dbus_servicesdir = $(datadir)/dbus-1/services
dbus_services_DATA = indicator-sound.service
%.service: %.service.in