]> sipb.mit.edu Git - ikiwiki.git/blobdiff - Makefile.PL
web commit by JoshTriplett: RewriteCond and RewriteRule solve the problem. Documenta...
[ikiwiki.git] / Makefile.PL
index 8404f947744c3f7f3165dea88eda56fb67593015..3c47e684e7c26ca5f40f781fe97e54efa38bf4de 100755 (executable)
@@ -23,12 +23,14 @@ PROBABLE_INST_LIB=$(shell \\
        fi \\
 )
 
+tflag=$(shell if [ ! "$$NOTAINT" ]; then printf -- "-T"; fi)
+
 extra_build:
        ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
        chmod +x ikiwiki.out
-       PERL5LIB=.:${PERL5LIB} LANG=C ./ikiwiki.in doc html --templatedir=templates \
+       LANG=C perl -I. $(tflag) ikiwiki.out doc html --templatedir=templates \
                --underlaydir=basewiki \
-               --wikiname="ikiwiki" --verbose --no-rcs \
+               --wikiname="ikiwiki" --verbose \
                --exclude=/discussion --no-discussion --userdir=users \
                --plugin=goodstuff \
                --plugin=haiku --plugin=polygen --plugin=fortune