summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-10-11 03:26:25 +0200
committerJonas Smedegaard <dr@jones.dk>2011-10-11 03:26:25 +0200
commitbf2ed42c116b0dd3dc346ed46cbaa0e8d62ffbe2 (patch)
tree805c68a6ae0f06e6a15840b6b943ed231dcfccfc /Makefile
parente070a660f9c34aee9b2002e6fe03ed1abc1955b9 (diff)
Fix build cssprojects.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 064425a..8105fc4 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,8 @@ content: submodules
mkdir -p '$@'
[ -e '$@/index.mdwn' ] || printf '# Hello world!\n\nHello world!\n' > '$@/index.mdwn'
-build: $(cssprojects)
+build:
+ $(if $(cssprojects),$(MAKE) $(cssprojects))
$(foreach config,$(shell find config -name '*.setup'),ikiwiki --setup $(config)$(avoid-broken-git)$(if $(always-make), --rebuild);)
.PHONY: all build submodules content