]> sipb.mit.edu Git - ikiwiki.git/blobdiff - Makefile.PL
* The slash escaping when adding to a blog from the CGI was not working
[ikiwiki.git] / Makefile.PL
index 8404f947744c3f7f3165dea88eda56fb67593015..0039d1bc0bca44d2b009bc655d7d473a5d9d160a 100755 (executable)
@@ -23,10 +23,12 @@ 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 \
                --exclude=/discussion --no-discussion --userdir=users \