summaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-04 13:53:26 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-04 13:53:26 +0200
commit58c34a0c82740dd5fe6fe10c9b07340e8431125b (patch)
tree703f8a48cd8ec7f0519a35c74b381122b9ac59f2 /GNUmakefile
parent8828256862442a088107639fd9ef3ae689e7b412 (diff)
Use a single invokation of find(1)
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1537cde..c5cb884 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -11,11 +11,12 @@ ezcodes := $(shell \
)
# Source files that aren’t dynamically generated
-sources := \
- $(shell find src -type f -name 'index.gsp') \
- $(shell find src -type f -name '*.css') \
- $(shell find src -type f -name '*.svg') \
- $(shell find src -type f -name '*.woff2')
+sources := $(shell find src -type f \( \
+ -name 'index.gsp' -or \
+ -name '*.css' -or \
+ -name '*.svg' -or \
+ -name '*.woff2' \
+\))
# Different euro coin and -banknote page types
eurocc := $(ezcodes:%=out/euro/%/index.html)