aboutsummaryrefslogtreecommitdiffstats
path: root/ukarpanghooth/Makefile
diff options
context:
space:
mode:
authorla-ninpre <aaoth@aaoth.xyz>2025-12-23 23:30:05 +0300
committerla-ninpre <aaoth@aaoth.xyz>2025-12-23 23:30:05 +0300
commit0fb3e081d76ad1e73dae5bfccf141c48f49815d4 (patch)
tree5cf26a62505dcfeeb0e33e9d4503d2fea2e83e6b /ukarpanghooth/Makefile
parentaf72aef1e1c6366ad6bbca38eb6bfc840553282d (diff)
downloadlipi-0fb3e081d76ad1e73dae5bfccf141c48f49815d4.tar.gz
lipi-0fb3e081d76ad1e73dae5bfccf141c48f49815d4.zip
ukarpanghooth: add compiled fonts
use fontmake and fonttools for this, because fontc generates ttf.
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