diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -26,7 +26,7 @@ STATIC_FILES := $(patsubst content/%,out/%,$(shell find content -type f | |||
26 | # TARGETS | 26 | # TARGETS |
27 | # | 27 | # |
28 | 28 | ||
29 | all: content_meta content_files feed_files static_files font_files css_files | 29 | all: content_meta content_files feed_files static_files font_files css_files icons |
30 | 30 | ||
31 | content_meta: $(CONTENT_META) | 31 | content_meta: $(CONTENT_META) |
32 | content_files: $(CONTENT_FILES) | 32 | content_files: $(CONTENT_FILES) |
@@ -34,6 +34,7 @@ feed_files: $(FEED_FILES) | |||
34 | static_files: $(STATIC_FILES) | 34 | static_files: $(STATIC_FILES) |
35 | font_files: $(FONT_FILES) | 35 | font_files: $(FONT_FILES) |
36 | css_files: $(CSS_FILES) | 36 | css_files: $(CSS_FILES) |
37 | icons: 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 | ||
140 | out/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 | |||
139 | out/%: content/% | out | 164 | out/%: content/% | out |
140 | $(info [COPY] $< -> $@) | 165 | $(info [COPY] $< -> $@) |
141 | 166 | ||