X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/a1a7019f276902c53aad2b2cb71e74f6e974fa05..0aadc597d4093a60a123f6882ef9cffe1aa63798:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index d51334c1f..df119d5f0 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,8 +12,10 @@ install:: extra_install pure_install:: extra_install extra_build: - ./ikiwiki doc templates html --wikiname="ikiwiki" --verbose \ - --nosvn --exclude=/discussion + ./ikiwiki doc html --templatedir=templates --underlaydir=basewiki \ + --wikiname="ikiwiki" --verbose --no-rcs \ + --exclude=/discussion --plugin=brokenlinks \ + --plugin=pagecount --plugin=orphans ./mdwn2man doc/usage.mdwn > ikiwiki.man extra_clean: @@ -23,10 +25,17 @@ extra_clean: extra_install: install -d $(PREFIX)/share/ikiwiki/templates cp templates/* $(PREFIX)/share/ikiwiki/templates + + install -d $(PREFIX)/share/ikiwiki/basewiki + cp -a basewiki/* $(PREFIX)/share/ikiwiki/basewiki + + install -d $(PREFIX)/share/man/man1 + install ikiwiki.man $(PREFIX)/share/man/man1/ikiwiki.1 } } WriteMakefile( 'NAME' => 'IkiWiki', + 'PM_FILTER' => 'grep -v "removed by Makefile"', 'EXE_FILES' => ['ikiwiki'], );