aboutsummaryrefslogtreecommitdiff
path: root/fonts/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 17:17:25 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 17:17:25 -0500
commit4d34ea76dd72cc811cb1e40bc5f91dc74b3e3dc3 (patch)
tree38ced096661c94646ab7c49a02011dec10f3a54c /fonts/Makefile
parentdzen scripts are executable (diff)
update font handling
Diffstat (limited to 'fonts/Makefile')
-rw-r--r--fonts/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/fonts/Makefile b/fonts/Makefile
new file mode 100644
index 0000000..13e1c08
--- /dev/null
+++ b/fonts/Makefile
@@ -0,0 +1,23 @@
+fonts = Brill_Typeface_2.06 \
+ InconsolataHellenic.otf \
+ ubuntu-font-family-0.80 \
+ Courier-Prime \
+ Fell \
+ SourceCodePro_FontsOnly-1.017 \
+ Vollkorn
+
+all: $(fonts)
+
+clean:
+ rm -f $(fonts)
+
+install: $(fonts)
+ [ -d ~/.fonts ] || mkdir -p ~/.fonts
+ rsync -av $^ .fonts/
+
+# Requires fontforge
+InconsolataHellenic.otf: Inconsolata-Hellenic/Inconsolata-Hellenic.sfd convert.pe
+ fontforge -script convert.pe $<
+ mv -f $(<:.sfd=.otf) $@
+
+.PHONY: all clean install