chmod +x ikiwiki.out
extra_build: ikiwiki.out
- LANG= perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
- --underlaydir=underlays/basewiki --nousedirs\
- --wikiname="ikiwiki" --verbose \
- --exclude=/discussion --no-discussion --userdir=users \
- --plugin=goodstuff --plugin=version \
- --plugin=haiku --plugin=polygen --plugin=fortune
+ perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -setup docwiki.setup
./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
--- /dev/null
+#!/usr/bin/perl
+# Configuration file for ikiwiki to build its documentation wiki.
+
+use IkiWiki::Setup::Standard {
+ wikiname => "ikiwiki",
+ srcdir => "doc",
+ destdir => "html",
+ templatedir => "templates",
+ underlaydir => "underlays/basewiki",
+ wrappers => [],
+ discussion => 0,
+ exclude => qr/\/discussion/,
+ locale => '',
+ verbose => 1,
+ syslog => 0,
+ userdir => "users",
+ usedirs => 0,
+ add_plugins => [qw{goodstuff version haiku polygen fortune}],
+}