summaryrefslogtreecommitdiff
path: root/config/include.mk
blob: 9a57307730f3013cb3c41d5d41bfb242e413e9ca (plain)
  1. domain = example.com
  2. website = www.$(domain)
  3. srcsite = source.$(domain)
  4. gitrepo = site/content
  5. plugins = goodstuff \
  6. plugins-off =
  7. admins = \
  8. IKIWIKI_CONFIG_OPTIONS = \
  9. --wikiname 'SampleWiki' \
  10. --adminemail 'webmaster@$(domain)' \
  11. $(patsubst %,--adminuser '%',$(admins)) \
  12. $(patsubst %,--plugin %,$(plugins)) \
  13. $(patsubst %,--disable-plugin %,$(plugins-off)) \
  14. # paths
  15. #IKIWIKI_CONFIG_OPTIONS += --set-yaml add_underlays='- $(CURDIR)/styling'
  16. IKIWIKI_CONFIG_OPTIONS += \
  17. --set wikistatedir='$(CURDIR)/.ikiwiki' \
  18. # collaboration/aggregation
  19. IKIWIKI_CONFIG_OPTIONS += \
  20. --allowrss \
  21. --allowatom \
  22. # styling
  23. IKIWIKI_CONFIG_OPTIONS += \
  24. --set theme=goab \
  25. # CGI
  26. IKIWIKI_CONFIG_OPTIONS += \
  27. --url 'http://$(website)/' \
  28. --cgiurl 'http://$(website)/ikiwiki.cgi' \
  29. --set cgi_wrapper='$(CURDIR)/build/cgi/ikiwiki.cgi' \
  30. --set cgi_wrappermode=00755 \
  31. # VCS
  32. IKIWIKI_CONFIG_OPTIONS += \
  33. --rcs=git \
  34. --historyurl 'http://$(srcsite)/?p=$(gitrepo).git;a=history;f=[[file]]' \
  35. --diffurl 'http://$(srcsite)/?p=$(gitrepo).git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]' \
  36. --set git_wrapper='$(CURDIR)/build/git/post-update-ikiwiki' \
  37. --set git_wrappermode=06755 \