summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-11-06 11:19:40 +0100
committerJonas Smedegaard <dr@jones.dk>2007-11-06 11:19:40 +0100
commitfb793d8a6f580f0dd32347a8df1867195237291d (patch)
tree85ff5bd2bae6cb498aaa5cb08bd6851ec8c01a94
parentcfd0df9f98dc6024cff516018e7b6c71707ad88c (diff)
Define ikiwiki config files in variable at top of Makefile.
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5fb858d..3c7a46c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,8 @@ ikiwiki_LOCALES = da
#dummy_MODULES = content_dummy
+#CONFIGS = ikiwiki.setup
+
# Everything after this is generic
# FIXME: Not all of these are used within templates
@@ -18,8 +20,11 @@ podir = po
all: $(SOURCES)
install:
+ifneq ($(strip $(CONFIGS)),)
+ $(CONFIGS:%=ikiwiki --setup % --rebuild)
+else
$(error FIXME: you need to adjust ikiwiki.setup first!)
-# ikiwiki --setup ikiwiki.setup --rebuild
+endif