From 3dfb101d32c005d1d5c7c9e41e22031b2b7080ed Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 1 Aug 2012 12:06:36 +0200 Subject: Fix bootstrapping with no initial ikiwiki config. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd996fe..1fb0d33 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3