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 --nosvn \
17 --exclude=/discussion --plugin=brokenlinks \
19 ./mdwn2man doc/usage.mdwn > ikiwiki.man
22 rm -rf html doc/.ikiwiki
26 install -d $(PREFIX)/share/ikiwiki/templates
27 cp templates/* $(PREFIX)/share/ikiwiki/templates
29 install -d $(PREFIX)/share/ikiwiki/basewiki
30 cp -a basewiki/* $(PREFIX)/share/ikiwiki/basewiki
32 install -d $(PREFIX)/share/man/man1
33 install ikiwiki.man $(PREFIX)/share/man/man1/ikiwiki.1
39 'PM_FILTER' => 'grep -v "removed by Makefile"',
40 'EXE_FILES' => ['ikiwiki'],