X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e49ff966a39d1037ccbf168b8dbd12618cf1b41e..bd8d5a2b57713cae512c4f8dc41fe4b22dcbe941:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index 303116faa..1f46e9c95 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,8 +11,13 @@ clean:: extra_clean install:: extra_install pure_install:: extra_install +VER=$(shell perl -e '$$_=<>;print m/\((.*?)\)/' ikiwiki + extra_build: - ./ikiwiki doc html --templatedir=templates --underlaydir=basewiki \ + ./ikiwiki.pl doc html --templatedir=templates --underlaydir=basewiki \ --wikiname="ikiwiki" --verbose --no-rcs \ --exclude=/discussion --no-discussion \ --plugin=brokenlinks --plugin=pagecount \ @@ -51,4 +56,5 @@ WriteMakefile( 'NAME' => 'IkiWiki', 'PM_FILTER' => 'grep -v "removed by Makefile"', 'EXE_FILES' => ['ikiwiki'], + 'clean' => {FILES => 'ikiwiki'}, );