summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c3b21ff..ee3bdc2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
1FILES_SRC := $(shell find src/icons -type f -name "*.svg") 1FILES_SRC := $(shell find src/icons -type f -name "*.svg")
2FILES := $(patsubst src/icons/%.svg,output/%.svg,$(FILES_SRC)) 2FILES := $(patsubst src/icons/%.svg,dist/%.svg,$(FILES_SRC))
3 3
4all: files showcase/index.html 4all: files dist/sprite.svg showcase/index.html
5 5
6files: $(FILES) 6files: $(FILES)
7 7
8### 8###
9 9
10output/%.svg: src/icons/%.svg | output 10dist/%.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
22showcase: 22showcase:
23 mkdir -p showcase 23 mkdir -p showcase
24 24
25output: 25dist:
26 mkdir -p output 26 mkdir -p dist
27 27
28### 28###
29 29