summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-07-30 16:09:02 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-07-30 16:09:02 +0200
commit5299dd0b2c8652ece380ac27475968dad68d9051 (patch)
treed339547ad45bc7dd230a71167d3bdea030127e3b /Makefile
parent4d6857993ea9f39ff4113809fd7b2272ff83647f (diff)
Copy over PNGs too
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}