]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - Makefile.am
Makefile.am: add rule to build woff2 fonts from sfd sources
[charm-bypass.git] / Makefile.am
index 04406bac8e41997bcdc126df8d5ffe0eee988157..db4ea90bc59b17cb0498711f58589969e07f705b 100644 (file)
@@ -31,6 +31,10 @@ day.min.svg: day.svg
                 --error-on-flowtext \
                 $< > $@
 
+# Use FontForge to convert the sfd source files to woff2.
+.sfd.woff2:
+       @FONTFORGE@ -script sfd2woff $<
+
 # Base64-encode a woff2 (web open font format 2.0) file. We use this
 # to embed fonts directly into the CSS that requires them.
 .woff2.base64: