Miklos Szeredi | 552c281 | 2001-11-08 14:56:53 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
Miklos Szeredi | d6e9f88 | 2002-10-25 11:40:14 +0000 | [diff] [blame] | 3 | bin_PROGRAMS = fusermount |
Miklos Szeredi | 552c281 | 2001-11-08 14:56:53 +0000 | [diff] [blame] | 4 | |
| 5 | fusermount_SOURCES = fusermount.c |
Miklos Szeredi | 8cffdb9 | 2001-11-09 14:49:18 +0000 | [diff] [blame] | 6 | |
| 7 | install-exec-hook: |
Miklos Szeredi | f782fc4 | 2002-01-14 08:48:46 +0000 | [diff] [blame] | 8 | -chown root $(DESTDIR)$(bindir)/fusermount |
| 9 | -chmod u+s $(DESTDIR)$(bindir)/fusermount |
Miklos Szeredi | 866826d | 2005-06-28 12:22:57 +0000 | [diff] [blame] | 10 | @if test ! -e $(DESTDIR)/dev/fuse; then \ |
| 11 | $(mkdir_p) $(DESTDIR)/dev; \ |
| 12 | echo "mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229"; \ |
| 13 | mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229; \ |
| 14 | fi |
Miklos Szeredi | e1bcece | 2005-06-28 10:37:06 +0000 | [diff] [blame] | 15 | |
Miklos Szeredi | d51fca1 | 2005-09-15 12:51:00 +0000 | [diff] [blame] | 16 | EXTRA_DIST = mount.fuse udev.rules |
Miklos Szeredi | e1bcece | 2005-06-28 10:37:06 +0000 | [diff] [blame] | 17 | |
Miklos Szeredi | bfb9946 | 2005-07-26 11:07:55 +0000 | [diff] [blame] | 18 | MOUNT_FUSE_PATH = @MOUNT_FUSE_PATH@ |
Miklos Szeredi | d51fca1 | 2005-09-15 12:51:00 +0000 | [diff] [blame] | 19 | UDEV_RULES_PATH = @UDEV_RULES_PATH@ |
Miklos Szeredi | bfb9946 | 2005-07-26 11:07:55 +0000 | [diff] [blame] | 20 | |
Miklos Szeredi | e1bcece | 2005-06-28 10:37:06 +0000 | [diff] [blame] | 21 | install-exec-local: |
Miklos Szeredi | c6931a9 | 2005-09-26 14:58:35 +0000 | [diff] [blame] | 22 | $(mkdir_p) $(DESTDIR)$(MOUNT_FUSE_PATH) |
Miklos Szeredi | bfb9946 | 2005-07-26 11:07:55 +0000 | [diff] [blame] | 23 | $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse |
Miklos Szeredi | e1bcece | 2005-06-28 10:37:06 +0000 | [diff] [blame] | 24 | |
Miklos Szeredi | d51fca1 | 2005-09-15 12:51:00 +0000 | [diff] [blame] | 25 | install-data-local: |
Miklos Szeredi | c6931a9 | 2005-09-26 14:58:35 +0000 | [diff] [blame] | 26 | $(mkdir_p) $(DESTDIR)$(UDEV_RULES_PATH) |
Miklos Szeredi | d51fca1 | 2005-09-15 12:51:00 +0000 | [diff] [blame] | 27 | $(INSTALL_DATA) $(srcdir)/udev.rules $(DESTDIR)$(UDEV_RULES_PATH)/40-fuse.rules |
| 28 | |
Miklos Szeredi | e1bcece | 2005-06-28 10:37:06 +0000 | [diff] [blame] | 29 | uninstall-local: |
Miklos Szeredi | bfb9946 | 2005-07-26 11:07:55 +0000 | [diff] [blame] | 30 | rm -f $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse |
Miklos Szeredi | d51fca1 | 2005-09-15 12:51:00 +0000 | [diff] [blame] | 31 | rm -f $(DESTDIR)$(UDEV_RULES_PATH)/40-fuse.rules |