From c3d654eac231965326dad3bab33457aaeec30596 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 16 Dec 2019 12:14:53 +0100 Subject: [PATCH] Update rule for dist/fonts.css (webfonts) Signed-off-by: Stefan Weil --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 58727f4..41921c3 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ CLEANCSS = cleancss # UglifyJS minifies, merges and optimizes Javascript UGLIFYJS = uglifyjs # webfont-dl is a tool to download web fonts from the Google Fonts API -WEBFONTDL = webfont-dl --eot=omit +WEBFONTDL = webfont-dl --eot=omit --ttf=data --woff1=data # Pug is a templating engine PUG = pug --pretty # Stylus is a CSS compiler @@ -134,7 +134,7 @@ dist/fonts: $(CP) ${FONT_FILES} $@ dist/fonts.css: dist/fonts - $(WEBFONTDL) -o $@ --font-out=dist/fonts $(FONT_URLS) && sleep 1 + $(WEBFONTDL) -o $@ --font-out=dist/fonts $(FONT_URLS) && wait dist/vendor.css: ${CSS_FILES} dist/fonts.css cat dist/fonts.css ${CSS_FILES} \