aboutsummaryrefslogtreecommitdiff
path: root/dot_fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dot_fonts/Makefile')
-rw-r--r--dot_fonts/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/dot_fonts/Makefile b/dot_fonts/Makefile
new file mode 100644
index 0000000..8998da7
--- /dev/null
+++ b/dot_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 ../build/.fonts ] || mkdir -p ../build/.fonts
+ rsync -av $^ ../build/.fonts/
+
+# Requires fontforge
+InconsolataHellenic.otf: Inconsolata-Hellenic/Inconsolata-Hellenic.sfd convert.pe
+ fontforge -script convert.pe $<
+ mv -f $(<:.sfd=.otf) $@
+
+.PHONY: all clean install