summaryrefslogtreecommitdiffstats
path: root/libk3b/scripts/Makefile.am
blob: 6318b9b80fb942218bd3b6ae8a461d8b7d25ec7d (plain)
1
2
3
4
5
6
7
8
9
10
11
bin_SCRIPTS = k3b_automount

# k3b_automount needs to be installed setuid root
install-exec-hook:
	@(chown 0 $(DESTDIR)$(bindir)/k3b_automount && chmod 4755 $(DESTDIR)$(bindir)/k3b_automount) || echo "Please make k3b_automount setuid root" >&2
	@echo ""
	@echo "k3b_automount is by default installed with a set SETUID root bit!"
	@echo "This is needed for K3b to be able to temporarily disable automounting via"
	@echo "subfs or supermount while burning."
	@echo ""