Skip to content
Snippets Groups Projects
Commit e92d0acd authored by aviau's avatar aviau Committed by Guillaume Roguez
Browse files

move dring to ${prefix}/sbin

${prefix}/libexec is not part of the FHS. Moving to ${prefix}/sbin to
accomodate distros

See https://lists.debian.org/debian-devel/2005/05/msg00401.html

Change-Id: I9b2911929a2f8cc2c8f624c56b6491883c71b6a8
Tuleap: #350
parent 95886145
No related branches found
No related tags found
No related merge requests found
if HAVE_WIN32
libexec_PROGRAMS = ringcli
bin_PROGRAMS = ringcli
ringcli_SOURCES = winmain.cpp
ringcli_CXXFLAGS = -I$(top_srcdir)/src \
-I$(top_srcdir)/src/dring \
......@@ -8,7 +8,7 @@ ringcli_LDADD = $(top_builddir)/src/libring.la
endif
if HAVE_OSX
libexec_PROGRAMS = ringcli
bin_PROGRAMS = ringcli
ringcli_SOURCES = osxmain.cpp
ringcli_CXXFLAGS = -I$(top_srcdir)/src \
-I$(top_srcdir)/src/dring \
......@@ -19,7 +19,7 @@ endif
if RING_DBUS
SUBDIRS=dbus
libexec_PROGRAMS = dring
sbin_PROGRAMS = dring
dring_SOURCES = main.cpp
......
[D-BUS Service]
Name=cx.ring.Ring
Exec=@LIBEXECDIR@/dring
Exec=/usr/sbin/dring
......@@ -366,9 +366,6 @@ AC_ARG_WITH([dbus],
AS_IF([test "x$with_dbus" = "xyes"], [
PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,, AC_MSG_WARN([Missing dbus development files]))
AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
AC_SUBST(LIBEXECDIR)
AC_CONFIG_FILES([bin/dbus/Makefile
bin/dbus/cx.ring.Ring.service])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment