4 use ExtUtils::MakeMaker;
6 # Add a few more targets.
11 install:: extra_install
12 pure_install:: extra_install
15 ./ikiwiki doc html --templatedir=templates --underlaydir=basewiki \
16 --wikiname="ikiwiki" --verbose --no-rcs \
17 --exclude=/discussion --plugin=brokenlinks \
18 --plugin=pagecount --plugin=orphans \
20 ./mdwn2man doc/usage.mdwn > ikiwiki.man
23 rm -rf html doc/.ikiwiki
27 install -d $(PREFIX)/share/ikiwiki/templates
28 cp templates/* $(PREFIX)/share/ikiwiki/templates
30 install -d $(PREFIX)/share/ikiwiki/basewiki
31 cp -a basewiki/* $(PREFIX)/share/ikiwiki/basewiki
33 install -d $(PREFIX)/share/man/man1
34 install ikiwiki.man $(PREFIX)/share/man/man1/ikiwiki.1
40 'PM_FILTER' => 'grep -v "removed by Makefile"',
41 'EXE_FILES' => ['ikiwiki'],