summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-20 18:17:17 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-06-21 11:25:26 +0000
commitdf6dd7e077c3a4be5a18f1fb717228c390912761 (patch)
tree4e8243c8ae3f19a44fc72efe30ac5814e6320521
parentUpdating static: Adding dejvu-fonts WOFF files (diff)
downloadhtml-template-df6dd7e077c3a4be5a18f1fb717228c390912761.tar.xz
html-template-df6dd7e077c3a4be5a18f1fb717228c390912761.zip
Updating static: Adding dejavu-fonts WOFF2 target in Makefile
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--_static/dejavu-fonts/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/_static/dejavu-fonts/Makefile b/_static/dejavu-fonts/Makefile
index 36547d1..88147ce 100644
--- a/_static/dejavu-fonts/Makefile
+++ b/_static/dejavu-fonts/Makefile
@@ -1,8 +1,8 @@
# Makefile
-# Depends: woff-tools
+# Depends: woff-tools woff2
-all: woff
+all: woff woff2
woff: *.ttf
for FILE in *.ttf; \
@@ -10,5 +10,11 @@ woff: *.ttf
sfnt2woff $${FILE}; \
done
+woff2: *.ttf
+ for FILE in *.ttf; \
+ do \
+ woff2_compress $${FILE}; \
+ done
+
clean:
- rm -f *.woff
+ rm -f *.woff *.woff2