blob: 60c0f68fdfca4fa7aae30d2c7d903e8e4f93ccf3 (
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;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]' \
- --set git_wrapper='$(CURDIR)/build/git/post-update-ikiwiki' \
- --set git_wrappermode=06755 \
|