op_utime.h \
gnomevfsresult.c \
gnomevfsresult.h \
- gnomevfsfileinfo.c \
- gnomevfsfileinfo.h \
+ capfuse_captive_file_info_object.c \
+ capfuse_captive_file_info_object.h \
main.c \
- main.h
+ main.h \
+ utf8.c \
+ utf8.h
mount_captive_CFLAGS= $(GNOME_VFS_CFLAGS) $(LIBXML_CFLAGS) $(FUSE_CFLAGS)
mount_captive_LDADD =$(captive_library) $(GNOME_VFS_LIBS) $(LIBXML_LIBS) $(FUSE_LIBS) $(INTLLIBS)
mount_captive_LDFLAGS=$(READLINE_LDFLAGS)
mount_captive_cond=mount.captive
initd_SCRIPTS_cond=captive
+if ENABLE_STANDALONE
+libexec_PROGRAMS_cond=captive-fusermount
+
+install-exec-hook-captive-fusermount:
+ chown root.fuse $(DESTDIR)/$(libexecdir)/captive-fusermount
+ chmod 4754 $(DESTDIR)/$(libexecdir)/captive-fusermount
+ if grep -q '^fuse:' /etc/group;then true;else \
+ echo "ERROR: Add 'fuse' to your '/etc/group'; see groupadd(8)"; \
+ exit 1; \
+ fi;
+
+else
+install-exec-hook-captive-fusermount:
+ @true
+
+endif
+
+# Do not: libexecPROGRAMS_INSTALL=${INSTALL} -o root -g fuse -m 4754
+# as it works only on Fedora Core based systems, at least SuSE 10.0 correctly fails.
+# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176708
+
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(enable_sbin_mountdir)
IFS=:; \
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; \
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook-captive-fusermount; \
fi
else
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