aboutsummaryrefslogtreecommitdiffstats
path: root/util/Makefile.am
blob: 2ac6805722182cbc3f8189412626d5f8d58d7765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## 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

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

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