PERL5LIB won't work when using the taint flag, and use lib "." is removed
since ikiwiki.out is run now. So switch to using -I.master
parent
a42a478a9e
commit
fe350344ca
|
@ -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.out 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 \
|
||||
|
|
Loading…
Reference in New Issue