summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-12 13:18:46 +0200
committerVolpeon <git@volpeon.ink>2022-06-12 13:18:46 +0200
commit68dc5757b3a395ba89dfcc81103a5fbd31f03b2c (patch)
tree1810595c1811cb50fe9a0f6116bf64f29e289d7d /Makefile
parentFixed list, updated fonts, fixed source wrapping (diff)
downloadvolpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.tar.gz
volpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.tar.bz2
volpeon.ink-68dc5757b3a395ba89dfcc81103a5fbd31f03b2c.zip
Better list layouts, added 'random' link for Fediring
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index e8ece08..7cdea67 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,6 @@ feed_files: $(FEED_FILES)
34static_files: $(STATIC_FILES) 34static_files: $(STATIC_FILES)
35font_files: $(FONT_FILES) 35font_files: $(FONT_FILES)
36css_files: $(CSS_FILES) 36css_files: $(CSS_FILES)
37icons: out/icons.svg
38 37
39# 38#
40# RULES 39# RULES
@@ -141,14 +140,21 @@ out/%.css: assets/css/%.scss $(CSS_SRC) | out
141 140
142 sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --no-map -o "$@" 141 sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --no-map -o "$@"
143 142
144out/icons.svg: | out 143out/%: content/% | out
145 $(info [ICON] $< -> $@) 144 $(info [COPY] $< -> $@)
145
146 mkdir -p $(@D)
147 cp "$<" "$@"
148
149icons: | out
150 $(info [ICON] out/icons.svg)
146 151
147 node ./node_modules/iro-icons/scripts/create_sprite.js \ 152 node ./node_modules/iro-icons/scripts/create_sprite.js \
148 asterisk \ 153 asterisk \
149 arrow-left \ 154 arrow-left \
150 arrow-right \ 155 arrow-right \
151 arrow-up-right \ 156 arrow-up-right \
157 shuffle \
152 envelope \ 158 envelope \
153 hash \ 159 hash \
154 messages \ 160 messages \
@@ -162,14 +168,7 @@ out/icons.svg: | out
162 x \ 168 x \
163 chevron-left \ 169 chevron-left \
164 chevron-right \ 170 chevron-right \
165 "$@" 171 "out/icons.svg"
166
167
168out/%: content/% | out
169 $(info [COPY] $< -> $@)
170
171 mkdir -p $(@D)
172 cp "$<" "$@"
173 172
174.cache/meta: | .cache 173.cache/meta: | .cache
175 mkdir -p .cache/meta 174 mkdir -p .cache/meta