summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-28 15:23:30 -0400
committerJune McEnroe <june@causal.agency>2018-09-28 15:23:30 -0400
commitecb6c18a749c249f2500d401727ab8ed9ee693c1 (patch)
tree654a2ab5430eee08c15ba10243fa6b4946ad4574 /etc
parentDisable visual bell in light terminal profile (diff)
downloadsrc-ecb6c18a749c249f2500d401727ab8ed9ee693c1.tar.gz
src-ecb6c18a749c249f2500d401727ab8ed9ee693c1.zip
Add png target in etc/psf
Diffstat (limited to '')
-rw-r--r--etc/psf/.gitignore1
-rw-r--r--etc/psf/Makefile10
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/psf/.gitignore b/etc/psf/.gitignore
index 6604437f..446e6b46 100644
--- a/etc/psf/.gitignore
+++ b/etc/psf/.gitignore
@@ -1 +1,2 @@
+*.png
 *.psfu
diff --git a/etc/psf/Makefile b/etc/psf/Makefile
index 1b535d7f..a3277b4e 100644
--- a/etc/psf/Makefile
+++ b/etc/psf/Makefile
@@ -1,15 +1,21 @@
 TABLE = default.u
 
 FONTS += sans6x8.psfu
+PNGS = $(FONTS:psfu=png)
 
 all: $(FONTS)
 
+png: $(PNGS)
+
 $(FONTS): $(TABLE)
 
-.SUFFIXES: .psf .psfu
+.SUFFIXES: .psf .psfu .png
 
 .psf.psfu:
 	psfaddtable $< $(TABLE) $@
 
+.psf.png:
+	psf2png $< > $@
+
 clean:
-	rm -f $(FONTS)
+	rm -f $(FONTS) $(PNGS)