summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-01-29 09:28:17 -0500
committerJune McEnroe <june@causal.agency>2018-01-29 09:28:17 -0500
commita8caf2c0c85d901ae398b103fa84f790ef6d3be4 (patch)
tree4b7acf533f9331c1599ac5b79d0f0d14fefeafef /bin/Makefile
parentAdd init function to fb interface (diff)
downloadsrc-a8caf2c0c85d901ae398b103fa84f790ef6d3be4.tar.gz
src-a8caf2c0c85d901ae398b103fa84f790ef6d3be4.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