summaryrefslogtreecommitdiff
path: root/legacy/eeze/src/bin/Makefile.am
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-06-30 03:57:47 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-06-30 03:57:47 +0000
commit9466b75d4dadf0da28e0071d7d75f4adbc60cecc (patch)
treea811f8c275aff24d8787160a0e7efbb987c28346 /legacy/eeze/src/bin/Makefile.am
parentf9e31be4893394999f8dbe1f20e63a835cf313d8 (diff)
make eeze_scanner suid
SVN revision: 60856
Diffstat (limited to 'legacy/eeze/src/bin/Makefile.am')
-rw-r--r--legacy/eeze/src/bin/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/legacy/eeze/src/bin/Makefile.am b/legacy/eeze/src/bin/Makefile.am
index 8ce27918f6..e02214d35d 100644
--- a/legacy/eeze/src/bin/Makefile.am
+++ b/legacy/eeze/src/bin/Makefile.am
@@ -8,12 +8,16 @@ noinst_PROGRAMS = @EEZE_UDEV_TEST_PRG@
8EXTRA_PROGRAMS = eeze_udev_test eeze_mount eeze_umount eeze_disk_ls eeze_scanner 8EXTRA_PROGRAMS = eeze_udev_test eeze_mount eeze_umount eeze_disk_ls eeze_scanner
9 9
10if HAVE_EEZE_MOUNT 10if HAVE_EEZE_MOUNT
11 DISK_PROGS = eeze_mount eeze_umount eeze_disk_ls eeze_scanner 11 DISK_PROGS = eeze_mount eeze_umount eeze_disk_ls
12 SCAN_PROGS = eeze_scanner
12else 13else
13 DISK_PROGS = 14 DISK_PROGS =
15 SCAN_PROGS =
14endif 16endif
15 17
16bin_PROGRAMS = $(DISK_PROGS) 18bin_PROGRAMS = $(DISK_PROGS)
19util_PROGRAMS = $(SCAN_PROGS)
20utildir = @libdir@/enlightenment/utils
17 21
18eeze_udev_test_SOURCES = eeze_udev_test.c 22eeze_udev_test_SOURCES = eeze_udev_test.c
19eeze_udev_test_CPPFLAGS = -I$(top_srcdir)/src/lib @EEZE_CFLAGS@ 23eeze_udev_test_CPPFLAGS = -I$(top_srcdir)/src/lib @EEZE_CFLAGS@
@@ -37,4 +41,9 @@ if HAVE_EEZE_MOUNT
37 eeze_scanner_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @ECORE_CON_LIBS@ @EET_LIBS@ 41 eeze_scanner_LDADD = $(top_builddir)/src/lib/libeeze.la @LIBMOUNT_LIBS@ @ECORE_FILE_LIBS@ @ECORE_CON_LIBS@ @EET_LIBS@
38 includesdir = $(includedir)/eeze-@VMAJ@ 42 includesdir = $(includedir)/eeze-@VMAJ@
39 includes_HEADERS = eeze_scanner.h 43 includes_HEADERS = eeze_scanner.h
44
45setuid_root_mode = a=rx,u+xs
46install-data-hook:
47 @chmod $(setuid_root_mode) $(DESTDIR)$(libdir)/enlightenment/utils/eeze_scanner$(EXEEXT) || true
48
40endif 49endif