man page generation
[ikiwiki.git] / Makefile.PL
index df26287faa3c04f040752bc59a36d7c1cd0b113a..d51334c1fce62e2f41af0ac40ea96d05732cbfe6 100755 (executable)
@@ -14,10 +14,11 @@ pure_install:: extra_install
 extra_build:
        ./ikiwiki doc templates html --wikiname="ikiwiki" --verbose \
                --nosvn --exclude=/discussion
-
+       ./mdwn2man doc/usage.mdwn > ikiwiki.man
+               
 extra_clean:
-       rm -rf html
-       rm -rf doc/.ikiwiki
+       rm -rf html doc/.ikiwiki
+       rm -f ikiwiki.man
 
 extra_install:
        install -d $(PREFIX)/share/ikiwiki/templates