summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-31 17:31:53 -0400
committerJune McEnroe <june@causal.agency>2018-03-31 17:31:53 -0400
commit4c0ccead7cfe5b6be24707b0526e740124ae6f3c (patch)
treeff5ced1273ca91f198f7fdc72b2f837309eff27c /bin
parentGenerate Terminal.app color scheme (diff)
downloadsrc-4c0ccead7cfe5b6be24707b0526e740124ae6f3c.tar.gz
src-4c0ccead7cfe5b6be24707b0526e740124ae6f3c.zip
Add scheme.png target
Diffstat (limited to 'bin')
-rw-r--r--bin/.gitignore1
-rw-r--r--bin/Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/.gitignore b/bin/.gitignore
index b1c26730..d3450745 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -17,3 +17,4 @@ watch
 bri
 fbatt
 fbclock
+scheme.png
diff --git a/bin/Makefile b/bin/Makefile
index c04789d4..e7c2712a 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -16,7 +16,7 @@ bsd: any $(BSD_BINS)
 linux: any $(LIN_BINS)
 
 .gitignore: Makefile
-	echo '*.o' tags $(ALL_BINS) | tr ' ' '\n' > .gitignore
+	echo '*.o' tags $(ALL_BINS) scheme.png | tr ' ' '\n' > .gitignore
 
 tags: *.c
 	ctags -w *.c
@@ -30,6 +30,9 @@ gfxx: gfxx.o gfx/$(GFX).o
 pbcopy pbpaste: pbd
 	ln -f pbd $@
 
+scheme.png: scheme
+	./scheme -t -g > scheme.png
+
 setuid: bri
 	chown root bri
 	chmod u+s bri