diff options
author | Siri Reiter <siri@jones.dk> | 2017-02-05 21:01:55 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2017-02-05 21:04:16 +0100 |
commit | 74469d030df5ef0cab6f00bec792e6300e080151 (patch) | |
tree | ac2fb15b7d30a9e270f62f50ee6de9f9b95645f9 /Makefile | |
parent | e9db1dd938911007d3f11f2793510c4f14401f5e (diff) | |
parent | 8718431b6266fe18fabf6c290a397b1e23b45562 (diff) |
Merge remote-tracking branch 'iki/plaintitle-da'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -38,7 +38,13 @@ config/ikiwiki.setup.in: configfiles: $(iki_configfiles) $(iki_configfiles): iki_flavor = $(if $(filter config/ikiwiki-%.setup,$@),$(@:config/ikiwiki-%.setup=%)) $(iki_configfiles): % : %.in - ikiwiki $(IKIWIKI_DEFAULTS) $(patsubst %,--setup %,$(wildcard $<)) --dumpsetup $@ + ikiwiki $(IKIWIKI_DEFAULTS) \ + $(if $(IKIWIKI_UNDERLAYS)$(IKIWIKI_SHARED_UNDERLAYS),\ + --set-yaml add_underlays="$$(echo $(strip \ + $(IKIWIKI_UNDERLAYS) \ + $(IKIWIKI_SHARED_UNDERLAYS)) \ + | perl -pe 's/\s+/\n/g;s/^/- /gm')") \ + $(patsubst %,--setup %,$(wildcard $<)) --dumpsetup $@ perl -i -pe '$$s=$$ENV{'CURDIR'}; s/\@CURDIR\@/$$s/g' $@ content: notempty = $(wildcard $@/*.mdwn) |