diff options
| author | Volpeon <git@volpeon.ink> | 2022-06-12 08:46:20 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-06-12 08:46:20 +0200 |
| commit | 7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf (patch) | |
| tree | 930d76a4a45baea8ec4f51fbe7122f32a3a45076 /Makefile | |
| parent | Update (diff) | |
| download | volpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.tar.gz volpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.tar.bz2 volpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.zip | |
Update
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 | ||
