X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f0d7a5ee1a9fe6ea28b63544904e5126faad12ec..3a98572da86ec43ad167de659ec7ccd386103fcb:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index 5ca5e1259..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: @@ -25,11 +27,15 @@ extra_install: cp templates/* $(PREFIX)/share/ikiwiki/templates install -d $(PREFIX)/share/ikiwiki/basewiki - cp basewiki/* $(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'], );