summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-05 22:17:11 +0100
committerVolpeon <git@volpeon.ink>2022-02-05 22:17:11 +0100
commit9fdc54d137d8dd94c70405010ed3c412e68235c0 (patch)
treef01c0f7265e447495b5e1549f4bbd3d43433f6ac /Makefile
parentAdded asterisk (diff)
downloadiro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.tar.gz
iro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.tar.bz2
iro-icons-9fdc54d137d8dd94c70405010ed3c412e68235c0.zip
Include compiled files
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