blob: 9a57307730f3013cb3c41d5d41bfb242e413e9ca (
plain)
- domain = example.com
- website = www.$(domain)
- srcsite = source.$(domain)
- gitrepo = site/content
- plugins = goodstuff \
- plugins-off =
- admins = \
- IKIWIKI_CONFIG_OPTIONS = \
- --wikiname 'SampleWiki' \
- --adminemail 'webmaster@$(domain)' \
- $(patsubst %,--adminuser '%',$(admins)) \
- $(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 \
- --allowatom \
- # 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 \
|