From 38cf6657d274595ff4a2025a71376525864243ce Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 5 Jan 2021 20:26:26 +0100 Subject: [PATCH] make rules to download fontello glyphs Common "build" code to obtain assets for site styling. --- .gitignore | 1 + Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 6885400..491b632 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # assets built by make rules /lib !/lib/photoswipe.html +/.fontello* # dynamic user data /profile diff --git a/Makefile b/Makefile index e1749fd..c58390c 100644 --- a/Makefile +++ b/Makefile @@ -30,3 +30,12 @@ lib/ckeditor: lib/.ckeditor cat $^/dev/builder/release/ckeditor/lang/nl.js >>$^/dev/builder/release/ckeditor/ckeditor.js #TODO: strip headers #TODO: cat dialogs psw-filters >>js ln -s .ckeditor/dev/builder/release/ckeditor $@ + +.fontello.url: .fontello-config.json + curl -sSf -o $@ --form 'config=@$<' https://fontello.com + +.fontello.zip: .fontello.url + curl -sSf -o $@ ${FONTELLO_HOST}/$$(cat $<)/get + +minimedit.%: .fontello.zip + unzip -q -j -DD -o $< '*/$@' -- 2.30.0