aboutsummaryrefslogtreecommitdiff
path: root/fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/Makefile')
-rw-r--r--fonts/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/fonts/Makefile b/fonts/Makefile
new file mode 100644
index 0000000..f3b3579
--- /dev/null
+++ b/fonts/Makefile
@@ -0,0 +1,24 @@
+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
+ fc-cache ~/.fonts
+
+# Requires fontforge
+InconsolataHellenic.otf: Inconsolata-Hellenic/Inconsolata-Hellenic.sfd convert.pe
+ fontforge -script convert.pe $<
+ mv -f $(<:.sfd=.otf) $@
+
+.PHONY: all clean install