From fb793d8a6f580f0dd32347a8df1867195237291d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 6 Nov 2007 11:19:40 +0100 Subject: Define ikiwiki config files in variable at top of Makefile. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3