aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-19 17:31:28 -0500
committerJoey Hess <joey@kitenet.net>2007-12-19 17:31:28 -0500
commit852999c5e1d62ce9302e6e7c8a14b8ac4741d802 (patch)
tree1b77c3c0f5ebffeeda749ca6548b3274ca99969e
parentb30fed47ea20c4b04c1cf9c68b6d69cfa0612c3a (diff)
downloadikiwiki-852999c5e1d62ce9302e6e7c8a14b8ac4741d802.tar
ikiwiki-852999c5e1d62ce9302e6e7c8a14b8ac4741d802.tar.gz
add a setup file for building the doc wiki
-rwxr-xr-xMakefile.PL7
-rw-r--r--docwiki.setup19
2 files changed, 20 insertions, 6 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 0315b6d49..272d0504b 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -31,12 +31,7 @@ ikiwiki.out: ikiwiki.in
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
diff --git a/docwiki.setup b/docwiki.setup
new file mode 100644
index 000000000..0a6a86678
--- /dev/null
+++ b/docwiki.setup
@@ -0,0 +1,19 @@
+#!/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}],
+}