diff options
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 | ||