From 7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 12 Jun 2022 08:46:20 +0200 Subject: Update --- Makefile | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9d36bc..52adc1d 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ STATIC_FILES := $(patsubst content/%,out/%,$(shell find content -type f # TARGETS # -all: content_meta content_files feed_files static_files font_files css_files +all: content_meta content_files feed_files static_files font_files css_files icons content_meta: $(CONTENT_META) content_files: $(CONTENT_FILES) @@ -34,6 +34,7 @@ feed_files: $(FEED_FILES) static_files: $(STATIC_FILES) font_files: $(FONT_FILES) css_files: $(CSS_FILES) +icons: out/icons.svg # # RULES @@ -136,6 +137,30 @@ out/%.css: assets/css/%.scss $(CSS_SRC) | out sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --no-map -o "$@" +out/icons.svg: | out + $(info [ICON] $< -> $@) + + node ./node_modules/iro-icons/scripts/create_sprite.js \ + asterisk \ + arrow-left \ + arrow-right \ + arrow-up-right \ + envelope \ + hash \ + messages \ + parallelogram \ + globe \ + image \ + graph \ + git-branch \ + smile \ + link \ + x \ + chevron-left \ + chevron-right \ + "$@" + + out/%: content/% | out $(info [COPY] $< -> $@) -- cgit v1.2.3-70-g09d2