diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-11-06 11:19:40 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-11-06 11:19:40 +0100 |
commit | fb793d8a6f580f0dd32347a8df1867195237291d (patch) | |
tree | 85ff5bd2bae6cb498aaa5cb08bd6851ec8c01a94 /Makefile | |
parent | cfd0df9f98dc6024cff516018e7b6c71707ad88c (diff) |
Define ikiwiki config files in variable at top of Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |