summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '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