diff options
author | Volpeon <git@volpeon.ink> | 2022-02-05 22:17:11 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-05 22:17:11 +0100 |
commit | 9fdc54d137d8dd94c70405010ed3c412e68235c0 (patch) | |
tree | f01c0f7265e447495b5e1549f4bbd3d43433f6ac /Makefile | |
parent | Added asterisk (diff) | |
download | iro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.tar.gz iro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.tar.bz2 iro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.zip |
Include compiled files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,13 +1,13 @@ | |||
1 | FILES_SRC := $(shell find src/icons -type f -name "*.svg") | 1 | FILES_SRC := $(shell find src/icons -type f -name "*.svg") |
2 | FILES := $(patsubst src/icons/%.svg,output/%.svg,$(FILES_SRC)) | 2 | FILES := $(patsubst src/icons/%.svg,dist/%.svg,$(FILES_SRC)) |
3 | 3 | ||
4 | all: files showcase/index.html | 4 | all: files dist/sprite.svg showcase/index.html |
5 | 5 | ||
6 | files: $(FILES) | 6 | files: $(FILES) |
7 | 7 | ||
8 | ### | 8 | ### |
9 | 9 | ||
10 | output/%.svg: src/icons/%.svg | output | 10 | dist/%.svg: src/icons/%.svg | dist |
11 | scour -i "$<" \ | 11 | scour -i "$<" \ |
12 | --enable-viewboxing \ | 12 | --enable-viewboxing \ |
13 | --enable-id-stripping \ | 13 | --enable-id-stripping \ |
@@ -22,8 +22,8 @@ showcase/index.html: src/showcase/index.html $(FILES) | showcase | |||
22 | showcase: | 22 | showcase: |
23 | mkdir -p showcase | 23 | mkdir -p showcase |
24 | 24 | ||
25 | output: | 25 | dist: |
26 | mkdir -p output | 26 | mkdir -p dist |
27 | 27 | ||
28 | ### | 28 | ### |
29 | 29 | ||