diff options
Diffstat (limited to 'backend/dep/build_ikiwiki.sh')
-rwxr-xr-x | backend/dep/build_ikiwiki.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backend/dep/build_ikiwiki.sh b/backend/dep/build_ikiwiki.sh new file mode 100755 index 0000000..3635e40 --- /dev/null +++ b/backend/dep/build_ikiwiki.sh @@ -0,0 +1,12 @@ +#!/bin/env bash + +SCRIPTDIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )" + +cd "$SCRIPTDIR"/ikiwiki && +{ PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")'; } && +#PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki::Extras")' && +perl Makefile.PL PREFIX= INSTALL_BASE= && +make && + +echo To run ikiwiki: && +echo "PERL5LIB='$(pwd)' '$(pwd)/'ikiwiki.out" |