- And OK, it is really the appropriate directory for it.
%{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs.so
%{_bindir}/@PACKAGE@-cmdline
%attr(644,root,root) %{_mandir}/man?/@PACKAGE@-cmdline.*
-%attr(4755,root,root) %{_sbindir}/@PACKAGE@-sandbox-server
+%attr(4755,root,root) %{_libexecdir}/@PACKAGE@-sandbox-server
%attr(644,root,root) %{_mandir}/man?/@PACKAGE@-sandbox-server.*
%config %{_sysconfdir}/gnome-vfs-2.0/modules/@PACKAGE@.conf
%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
mount_captive_LDADD =$(captive_library) $(GNOME_VFS_LIBS) $(FUSE_LIBS) $(INTLLIBS)
mount_captive_LDFLAGS=$(READLINE_LDFLAGS)
-mount_captive_CFLAGS+=-DSBINDIR="$(sbindir)"
+mount_captive_CFLAGS+=-DLIBEXECDIR="$(libexecdir)"
mount_captive_CFLAGS+=-DVARLIBCAPTIVEDIR="$(localstatedir)/lib/$(PACKAGE)"
if ENABLE_FUSE
struct captive_options options;
const char **capfuse_argv;
const char *program_name=argv[0];
-const char *sandbox_server_argv0=G_STRINGIFY(SBINDIR) "/captive-sandbox-server";
+const char *sandbox_server_argv0=G_STRINGIFY(LIBEXECDIR) "/captive-sandbox-server";
const char *image_filename;
g_log_set_always_fatal(~(0
$vardir="/var/lib/captive" if $vardir=~/^@/;
my $lufsd_bin='@PATH_LUFSD@';
$lufsd_bin="/usr/bin/lufsd" if $lufsd_bin=~/^@/;
-my $captive_sandbox_server_bin='@sbindir@/captive-sandbox-server';
+my $captive_sandbox_server_bin='@libexecdir@/captive-sandbox-server';
$captive_sandbox_server_bin=~s#\$\Q{exec_prefix}\E#'@exec_prefix@';#ge;
$captive_sandbox_server_bin=~s#\$\Q{prefix}\E#'@prefix@';#ge;
-$captive_sandbox_server_bin="/usr/sbin/captive-sandbox-server" if $captive_sandbox_server_bin=~/^@/;
+$captive_sandbox_server_bin="/usr/libexec/captive-sandbox-server" if $captive_sandbox_server_bin=~/^@/;
my $ME=($0=~m#([^/]*)$#)[0] or die "Cannot detetect my basename from: $0";
main.c
captive_sandbox_server_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS)
captive_sandbox_server_LDADD =$(ORBIT_LIBS) $(LINC_LIBS) $(captive_library) $(INTLLIBS)
-sbin_PROGRAMS+=captive-sandbox-server
-sbinPROGRAMS_INSTALL=${INSTALL} -o root -g root -m 4755
+libexec_PROGRAMS=captive-sandbox-server
+libexecPROGRAMS_INSTALL=${INSTALL} -o root -g root -m 4755
EXTRA_DIST+=.gdbinit
install-data-hook: