aboutsummaryrefslogtreecommitdiffstats
path: root/util/Makefile.am
blob: 54edccb013f18f2ea5e43ea7d472ab526968cc56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = fusermount

fusermount_SOURCES = fusermount.c

install-exec-hook:
	-chown root $(DESTDIR)$(bindir)/fusermount
	-chmod u+s $(DESTDIR)$(bindir)/fusermount
	@if test ! -e $(DESTDIR)/dev/fuse; then \
		$(mkdir_p) $(DESTDIR)/dev; \
		echo "mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229"; \
		mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229; \
	fi

EXTRA_DIST = mount.fuse

MOUNT_FUSE_PATH = @MOUNT_FUSE_PATH@

install-exec-local:
	$(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse

uninstall-local:
	rm -f $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse