summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-01-29 09:28:17 -0500
committerJune McEnroe <programble@gmail.com>2018-01-29 09:28:17 -0500
commit41afc8cdbc052617ac9a3725a65a278835502735 (patch)
treea835ccaeb6f2cc5f724ea713fa8871cd47bf7a68 /bin/Makefile
parentAdd init function to fb interface (diff)
downloadsrc-41afc8cdbc052617ac9a3725a65a278835502735.tar.gz
src-41afc8cdbc052617ac9a3725a65a278835502735.zip
Add setuid target for bri
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 1cd8a5e6..cdaf8ab6 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -13,6 +13,10 @@ atch: dtch
 pbcopy pbpaste: pbd
 	ln -f pbd $@
 
+setuid: bri
+	chown root bri
+	chmod u+s bri
+
 color: color.o fb.o
 
 clean:
@@ -27,4 +31,4 @@ unlink:
 .gitignore: Makefile
 	echo $(BINS) | tr ' ' '\n' > .gitignore
 
-.PHONY: all clean link unlink
+.PHONY: all portable setuid clean link unlink