From 0fb3e081d76ad1e73dae5bfccf141c48f49815d4 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Tue, 23 Dec 2025 23:30:05 +0300 Subject: ukarpanghooth: add compiled fonts use fontmake and fonttools for this, because fontc generates ttf. --- ukarpanghooth/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ukarpanghooth/Makefile (limited to 'ukarpanghooth/Makefile') 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 -- cgit v1.2.3