summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b670d3d..a29ce33 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
includes := ${wildcard include/*}
srcdirs := ${shell find src -type d}
outdirs := ${srcdirs:src%=out%}
-sources := ${shell find src -type f -name 'index.html' -or -name '*.css' -or -name '*.svg'}
+sources := ${shell find src -type f -regextype egrep -regex '.*/(index\.html|.*\.(css|svg|png))'}
outputs := ${sources:src/%=out/%}
all: ${outdirs} ${outputs}