aboutsummaryrefslogtreecommitdiffstats
path: root/ukarpanghooth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ukarpanghooth/Makefile')
-rw-r--r--ukarpanghooth/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/ukarpanghooth/Makefile b/ukarpanghooth/Makefile
new file mode 100644
index 0000000..60c2193
--- /dev/null
+++ b/ukarpanghooth/Makefile
@@ -0,0 +1,16 @@
+SRC = ukarpanghooth.ufo
+OTF = output/${SRC:.ufo=.otf}
+WOFF2 = output/${SRC:.ufo=.woff2}
+
+all: ${OTF} ${WOFF2}
+
+${OTF}: ${SRC}
+ fontmake --output-dir output -o otf -u ${SRC}
+
+${WOFF2}: ${OTF}
+ fonttools ttLib.woff2 compress -o $@ ${OTF}
+
+clean:
+ rm -f ${OTF} ${WOFF2}
+
+.PHONY: clean