diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-28 16:15:24 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-28 16:15:24 -0500 |
commit | 8bfff65a4ae85796838e96a083354ae634fb298a (patch) | |
tree | 936f0a1b15f8f29b7b3d6e448705119faaf0adf3 | |
parent | 54b4afeeb7db3651aa3ecd765e7dbcca020043c5 (diff) | |
download | ayatana-indicator-power-8bfff65a4ae85796838e96a083354ae634fb298a.tar.gz ayatana-indicator-power-8bfff65a4ae85796838e96a083354ae634fb298a.tar.bz2 ayatana-indicator-power-8bfff65a4ae85796838e96a083354ae634fb298a.zip |
remove 'local install' mode
-rw-r--r-- | configure.ac | 21 | ||||
-rw-r--r-- | data/Makefile.am | 2 |
2 files changed, 1 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index aa1cc12..81b6f9f 100644 --- a/configure.ac +++ b/configure.ac @@ -79,26 +79,6 @@ AC_SUBST(COVERAGE_CFLAGS) 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]) - -########################### -# DBus Service Info -########################### - -AS_IF([test "x$with_localinstall" = "xyes"], - [DBUSSERVICEDIR="${datadir}/dbus-1/services/"], - [DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`]) -AC_SUBST(DBUSSERVICEDIR) - ############################## # Custom Junk ############################## @@ -150,7 +130,6 @@ AC_MSG_NOTICE([ Power Indicator Configuration: Prefix: $prefix - Local Install: $with_localinstall Unit Tests: $enable_tests gcov: $use_gcov diff --git a/data/Makefile.am b/data/Makefile.am index c2ce65d..289a1f1 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -13,7 +13,7 @@ dist_indicators_DATA = com.canonical.indicator.power # the dbus service file # -dbus_servicesdir = $(DBUSSERVICEDIR) +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) |