summaryrefslogtreecommitdiff
path: root/config/include.mk
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-09-27 22:38:16 +0200
committerJonas Smedegaard <dr@jones.dk>2011-09-27 22:38:16 +0200
commita502a02616ef6f4396766011f70914c1bb586d4a (patch)
tree18632b2c2cbbef5d1180dc81ca8d382e6faceab7 /config/include.mk
parent40e0c0bdf22ec40a672f21fecadf98b95c3d7887 (diff)
Add a bunch of default config stuff.
Diffstat (limited to 'config/include.mk')
-rw-r--r--config/include.mk20
1 files changed, 19 insertions, 1 deletions
diff --git a/config/include.mk b/config/include.mk
index 864ebd2..9a57307 100644
--- a/config/include.mk
+++ b/config/include.mk
@@ -1,11 +1,13 @@
domain = example.com
+website = www.$(domain)
+srcsite = source.$(domain)
gitrepo = site/content
plugins = goodstuff \
plugins-off =
-admins =
+admins = \
IKIWIKI_CONFIG_OPTIONS = \
--wikiname 'SampleWiki' \
@@ -14,6 +16,11 @@ IKIWIKI_CONFIG_OPTIONS = \
$(patsubst %,--plugin %,$(plugins)) \
$(patsubst %,--disable-plugin %,$(plugins-off)) \
+# paths
+#IKIWIKI_CONFIG_OPTIONS += --set-yaml add_underlays='- $(CURDIR)/styling'
+IKIWIKI_CONFIG_OPTIONS += \
+ --set wikistatedir='$(CURDIR)/.ikiwiki' \
+
# collaboration/aggregation
IKIWIKI_CONFIG_OPTIONS += \
--allowrss \
@@ -21,9 +28,20 @@ IKIWIKI_CONFIG_OPTIONS += \
# styling
IKIWIKI_CONFIG_OPTIONS += \
+ --set theme=goab \
# CGI
IKIWIKI_CONFIG_OPTIONS += \
+ --url 'http://$(website)/' \
+ --cgiurl 'http://$(website)/ikiwiki.cgi' \
+ --set cgi_wrapper='$(CURDIR)/build/cgi/ikiwiki.cgi' \
+ --set cgi_wrappermode=00755 \
# VCS
IKIWIKI_CONFIG_OPTIONS += \
+ --rcs=git \
+ --historyurl 'http://$(srcsite)/?p=$(gitrepo).git;a=history;f=[[file]]' \
+ --diffurl 'http://$(srcsite)/?p=$(gitrepo).git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]' \
+ --set git_wrapper='$(CURDIR)/build/git/post-update-ikiwiki' \
+ --set git_wrappermode=06755 \
+