From 68dc5757b3a395ba89dfcc81103a5fbd31f03b2c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 12 Jun 2022 13:18:46 +0200 Subject: Better list layouts, added 'random' link for Fediring --- Makefile | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e8ece08..7cdea67 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,6 @@ feed_files: $(FEED_FILES) static_files: $(STATIC_FILES) font_files: $(FONT_FILES) css_files: $(CSS_FILES) -icons: out/icons.svg # # RULES @@ -141,14 +140,21 @@ 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] $< -> $@) +out/%: content/% | out + $(info [COPY] $< -> $@) + + mkdir -p $(@D) + cp "$<" "$@" + +icons: | out + $(info [ICON] out/icons.svg) node ./node_modules/iro-icons/scripts/create_sprite.js \ asterisk \ arrow-left \ arrow-right \ arrow-up-right \ + shuffle \ envelope \ hash \ messages \ @@ -162,14 +168,7 @@ out/icons.svg: | out x \ chevron-left \ chevron-right \ - "$@" - - -out/%: content/% | out - $(info [COPY] $< -> $@) - - mkdir -p $(@D) - cp "$<" "$@" + "out/icons.svg" .cache/meta: | .cache mkdir -p .cache/meta -- cgit v1.2.3-70-g09d2