]> git.sur5r.net Git - i3/i3lock/blobdiff - Makefile.am
Merge pull request #213 from trickeydan/patch-1
[i3/i3lock] / Makefile.am
index 3c0d16abe3e456518916c3de32ef680768a15aff..b5cd88302ffc666d0e1192cdf878f0c5c866e05e 100644 (file)
@@ -54,4 +54,9 @@ EXTRA_DIST = \
        $(pamd_files) \
        CHANGELOG \
        LICENSE \
-       README.md
+       README.md \
+       I3LOCK_VERSION
+
+# SUID the executable so it has permissions to lock TTY switching
+install-exec-hook:
+       chmod +s $(DESTDIR)$(bindir)/i3lock$(EXEEXT)