diff options
author | Jonas Smedegaard <dr@jones.dk> | 2012-08-01 12:06:36 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2012-08-01 12:06:36 +0200 |
commit | 3dfb101d32c005d1d5c7c9e41e22031b2b7080ed (patch) | |
tree | c40c1957ff984e8cd9a4660d13b419ef8e5889ab | |
parent | f2918c62df3a019a5ad3b6a076d8f45a5b48b9c8 (diff) |
Fix bootstrapping with no initial ikiwiki config.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -32,10 +32,13 @@ shared/.git: git submodule init git submodule update --init --recursive +config/ikiwiki.setup.in: + $(if $(wildcard config),,mkdir config) + $(if $(wildcard config/ikiwiki.setup.in),,touch config/ikiwiki.setup.in) + configfiles: $(iki_configfiles) $(iki_configfiles): iki_flavor = $(if $(filter config/ikiwiki-%.setup,$@),$(@:config/ikiwiki-%.setup=%)) $(iki_configfiles): % : %.in - $(if $(wildcard config),,mkdir config) ikiwiki $(IKIWIKI_DEFAULTS) $(patsubst %,--setup %,$(wildcard $<)) $(IKIWIKI_OPTIONS) --dumpsetup $@ content: notempty = $(wildcard $@/*.mdwn) |