summary refs log tree commit diff
path: root/etc/psf/Makefile
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
commitaef9b33982cb094d642ba78fede46fc5a71f6920 (patch)
tree9b6d600e055deeb8aaba8507c277d2037c6d6857 /etc/psf/Makefile
parentDisable visual bell in light terminal profile (diff)
downloadsrc-aef9b33982cb094d642ba78fede46fc5a71f6920.tar.gz
src-aef9b33982cb094d642ba78fede46fc5a71f6920.zip
Add png target in etc/psf
Diffstat (limited to '')
-rw-r--r--etc/psf/Makefile10
1 files changed, 8 insertions, 2 deletions
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)