]> sipb.mit.edu Git - ikiwiki.git/blobdiff - Makefile.PL
Revert bad rename, which missed recent changes to the page.
[ikiwiki.git] / Makefile.PL
index aaa334062cae220cdcd9f5a56491da6d4df634ff..3c47e684e7c26ca5f40f781fe97e54efa38bf4de 100755 (executable)
@@ -23,16 +23,19 @@ PROBABLE_INST_LIB=$(shell \\
        fi \\
 )
 
        fi \\
 )
 
+tflag=$(shell if [ ! "$$NOTAINT" ]; then printf -- "-T"; fi)
+
 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
+       LANG=C perl -I. $(tflag) ikiwiki.out doc html --templatedir=templates \
                --underlaydir=basewiki \
                --underlaydir=basewiki \
-               --wikiname="ikiwiki" --verbose --no-rcs \
+               --wikiname="ikiwiki" --verbose \
                --exclude=/discussion --no-discussion --userdir=users \
                --plugin=goodstuff \
                --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
                --exclude=/discussion --no-discussion --userdir=users \
                --plugin=goodstuff \
                --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: