]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - Makefile.PL
web commit by JoshTriplett: More inline links in description.
[git.ikiwiki.info.git] / Makefile.PL
index aaa334062cae220cdcd9f5a56491da6d4df634ff..39961f79a6bab9439b0c2466d03fe3faa9a047aa 100755 (executable)
@@ -24,7 +24,9 @@ PROBABLE_INST_LIB=$(shell \\
 )
 
 extra_build:
 )
 
 extra_build:
-       LANG=C ./ikiwiki.in doc html --templatedir=templates \
+       ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
+       chmod +x ikiwiki.out
+       PERL5LIB=.:${PERL5LIB} LANG=C ./ikiwiki.out doc html --templatedir=templates \
                --underlaydir=basewiki \
                --wikiname="ikiwiki" --verbose --no-rcs \
                --exclude=/discussion --no-discussion --userdir=users \
                --underlaydir=basewiki \
                --wikiname="ikiwiki" --verbose --no-rcs \
                --exclude=/discussion --no-discussion --userdir=users \
@@ -32,7 +34,6 @@ extra_build:
                --plugin=haiku --plugin=polygen --plugin=fortune
        ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
        ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
                --plugin=haiku --plugin=polygen --plugin=fortune
        ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
        ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
-       ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
        $(MAKE) -C po
 
 extra_clean:
        $(MAKE) -C po
 
 extra_clean: