summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 26 insertions, 1 deletions
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
26# TARGETS 26# TARGETS
27# 27#
28 28
29all: content_meta content_files feed_files static_files font_files css_files 29all: content_meta content_files feed_files static_files font_files css_files icons
30 30
31content_meta: $(CONTENT_META) 31content_meta: $(CONTENT_META)
32content_files: $(CONTENT_FILES) 32content_files: $(CONTENT_FILES)
@@ -34,6 +34,7 @@ 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
37 38
38# 39#
39# RULES 40# RULES
@@ -136,6 +137,30 @@ out/%.css: assets/css/%.scss $(CSS_SRC) | out
136 137
137 sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --no-map -o "$@" 138 sass --load-path=node_modules "$<" | ./node_modules/.bin/postcss --use autoprefixer --no-map -o "$@"
138 139
140out/icons.svg: | out
141 $(info [ICON] $< -> $@)
142
143 node ./node_modules/iro-icons/scripts/create_sprite.js \
144 asterisk \
145 arrow-left \
146 arrow-right \
147 arrow-up-right \
148 envelope \
149 hash \
150 messages \
151 parallelogram \
152 globe \
153 image \
154 graph \
155 git-branch \
156 smile \
157 link \
158 x \
159 chevron-left \
160 chevron-right \
161 "$@"
162
163
139out/%: content/% | out 164out/%: content/% | out
140 $(info [COPY] $< -> $@) 165 $(info [COPY] $< -> $@)
141 166