From a502a02616ef6f4396766011f70914c1bb586d4a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 27 Sep 2011 22:38:16 +0200 Subject: Add a bunch of default config stuff. --- config/include.mk | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 \ + -- cgit v1.2.3