summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-20 18:17:16 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-21 11:25:26 +0000
commit42368f436165597dda8ea89bf494eede4a916a69 (patch)
tree39049886487cdb1352b657f45671b7f2188f2d6d
parentUpdating static: Adding dejavu-fonts CSS (diff)
downloadhtml-template-42368f436165597dda8ea89bf494eede4a916a69.tar.xz
html-template-42368f436165597dda8ea89bf494eede4a916a69.zip
Updating static: Adding dejavu-fonts WOFF target in Makefile
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--_static/dejavu-fonts/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/_static/dejavu-fonts/Makefile b/_static/dejavu-fonts/Makefile
index 96aaeda..36547d1 100644
--- a/_static/dejavu-fonts/Makefile
+++ b/_static/dejavu-fonts/Makefile
@@ -1,2 +1,14 @@
# Makefile
+# Depends: woff-tools
+
+all: woff
+
+woff: *.ttf
+ for FILE in *.ttf; \
+ do \
+ sfnt2woff $${FILE}; \
+ done
+
+clean:
+ rm -f *.woff