mount_captive_LDADD =$(captive_library) $(GNOME_VFS_LIBS) $(FUSE_LIBS) $(INTLLIBS)
mount_captive_LDFLAGS=$(READLINE_LDFLAGS)
+mount_captive_CFLAGS+=-DLIBEXECDIR="$(libexecdir)"
+mount_captive_CFLAGS+=-DVARLIBCAPTIVEDIR="$(localstatedir)/lib/$(PACKAGE)"
+
if ENABLE_FUSE
if ENABLE_SBIN_MOUNT
mount_captive_cond=mount.captive
+initd_SCRIPTS_cond=captive
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(enable_sbin_mountdir)
$(LN_S) mount.captive $(DESTDIR)$(enable_sbin_mountdir)/mount.captive-$$fs; \
fi; \
done
+ if test `id -u` -eq 0 -a -z "$(DESTDIR)";then \
+ if grep -q '^fuse:' /etc/group;then true;else \
+ echo "ERROR: Add 'fuse' to your '/etc/group'; see groupadd(8)"; \
+ exit 1; \
+ fi; \
+ fi
else
install-exec-hook:
@true
endif
-bin_PROGRAMS+=$(mount_captive_cond)
+enable_sbin_mount_PROGRAMS=$(mount_captive_cond)
EXTRA_DIST+=mount.captive.pod.pl.in
CLEANFILES+=mount.captive.pod mount.captive.1
endif
endif
man_MANS=$(mount_captive_man_cond)
+
+initd_SCRIPTS=$(initd_SCRIPTS_cond)
+EXTRA_DIST+=captive.init
+CLEANFILES+=captive
+captive: captive.init
+ $(LN_S) $< $@
+
+captive_fusermount_SOURCES= \
+ fusermount.c
+captive_fusermount_CFLAGS=
+captive_fusermount_LDADD =$(captive_library)
+libexec_PROGRAMS=$(libexec_PROGRAMS_cond)
+libexecPROGRAMS_INSTALL=${INSTALL} -o root -g fuse -m 4754
+
+if ENABLE_FUSE
+if ENABLE_STANDALONE
+libexec_PROGRAMS_cond=captive-fusermount
+endif
+endif