summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-03-28 15:56:46 +0200
committerJonas Smedegaard <dr@jones.dk>2011-03-28 15:56:46 +0200
commit53892577719292ae388f1d65f7b4f5106cb6440c (patch)
treefcb3bfbe4514f75ad3b3b5f792ea055083123c26
parentc9f503ace5533c2f16dd26669330272be07fa123 (diff)
Init Compass config if likely to be relevant.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e841b59..2e6c9ec 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ submodules:
config: submodules
mkdir -p '$@'
[ -e '$@/'*.setup ] || ikiwiki $(IKIWIKI_OPTIONS) --dumpsetup '$@/ikiwiki.setup'
+ $(if $(wildcard shared/themes/Makefile),[ -e '$@/config.rb' ] || printf '# Compass config\nhttp_path = "/"\ncss_dir = "content"\nsass_dir = "content"\nimages_dir = "content"\njavascripts_dir = "content"\nfonts_dir = "content"\n' > '$@/config.rb')
content: submodules
mkdir -p '$@'