diff options
Diffstat (limited to 'backend/dep/build_ikiwiki.sh')
-rwxr-xr-x | backend/dep/build_ikiwiki.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/dep/build_ikiwiki.sh b/backend/dep/build_ikiwiki.sh index 484613a..56f6325 100755 --- a/backend/dep/build_ikiwiki.sh +++ b/backend/dep/build_ikiwiki.sh @@ -3,10 +3,11 @@ SCRIPTDIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )" cd "$SCRIPTDIR"/ikiwiki && -PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")' && +HOME="$SCRIPTDIR/prefix" PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")' && #PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki::Extras")' && -perl Makefile.PL PREFIX= INSTALL_BASE= && +#perl Makefile.PL PREFIX="$(pwd)/.." INSTALL_BASE="$(pwd)/.." && +perl Makefile.PL PREFIX= INSTALL_BASE="$SCRIPTDIR/prefix" && make && echo To run ikiwiki: && -echo "PERL5LIB='$(pwd)' '$(pwd)/'ikiwiki.out" +echo "PERL5LIB='$SCRIPTDIR/prefix' '$(pwd)/'ikiwiki.out" |