summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87d5874..064425a 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,6 @@ content: submodules
[ -e '$@/index.mdwn' ] || printf '# Hello world!\n\nHello world!\n' > '$@/index.mdwn'
build: $(cssprojects)
- find config -name *.setup -exec ikiwiki --setup '{}'$(avoid-broken-git)$(if $(always-make), --rebuild) ';'
+ $(foreach config,$(shell find config -name '*.setup'),ikiwiki --setup $(config)$(avoid-broken-git)$(if $(always-make), --rebuild);)
.PHONY: all build submodules content