aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-19 16:19:19 +0900
committerHarald Welte <laforge@gnumonks.org>2011-02-19 16:19:19 +0900
commit5ec26fe98319a65760618f946b4f8c72ba72ff6f (patch)
treeac4a29681eca163fdeba1bf2c9d0da2e44ffb416
parentf358964fb2496b3ce78ecc2ded3dfd48f560020f (diff)
Install programs into $(prefix)/bin, not /sbin
At least in many configurations, there is no need to run any of our programs as root. Thus, we shouldn't install them in sbin.
-rw-r--r--openbsc/src/Makefile.am2
-rw-r--r--openbsc/src/gprs/Makefile.am4
-rw-r--r--openbsc/src/ipaccess/Makefile.am2
3 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am
index 077054c3a..50c9b1a51 100644
--- a/openbsc/src/Makefile.am
+++ b/openbsc/src/Makefile.am
@@ -13,7 +13,7 @@ if BUILD_BSC
SUBDIRS += bsc
endif
-sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp
+bin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp
noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libmgcp.a
libbsc_a_SOURCES = abis_rsl.c abis_nm.c abis_om2000.c gsm_data.c gsm_04_08_utils.c \
diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index fe344944c..2fa9181fb 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -6,9 +6,9 @@ noinst_LIBRARIES = libgb.a
noinst_HEADERS = gprs_sndcp.h
if HAVE_LIBGTP
-sbin_PROGRAMS = osmo-gbproxy osmo-sgsn
+bin_PROGRAMS = osmo-gbproxy osmo-sgsn
else
-sbin_PROGRAMS = osmo-gbproxy
+bin_PROGRAMS = osmo-gbproxy
endif
diff --git a/openbsc/src/ipaccess/Makefile.am b/openbsc/src/ipaccess/Makefile.am
index 7eb0243ae..c677b3cee 100644
--- a/openbsc/src/ipaccess/Makefile.am
+++ b/openbsc/src/ipaccess/Makefile.am
@@ -2,7 +2,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(COVERAGE_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(COVERAGE_LDFLAGS)
-sbin_PROGRAMS = ipaccess-find ipaccess-config ipaccess-proxy
+bin_PROGRAMS = ipaccess-find ipaccess-config ipaccess-proxy
ipaccess_find_SOURCES = ipaccess-find.c