From 8bfff65a4ae85796838e96a083354ae634fb298a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 28 Jun 2013 16:15:24 -0500 Subject: remove 'local install' mode --- configure.ac | 21 --------------------- data/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 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) -- cgit v1.2.3 From f6329d6244eeb2039a961e86bd11cd8418717bef Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 28 Jun 2013 16:33:39 -0500 Subject: since we're removing localinstall mode, no need to pass it as an arg here either --- Makefile.am | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 00e108d..fbf05ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,8 +12,6 @@ endif dist_noinst_SCRIPTS = \ autogen.sh -DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall - ############################################################ dist-hook: -- cgit v1.2.3