summaryrefslogtreecommitdiff
path: root/backend/dep/build_ikiwiki.sh
blob: 38d66925dbe07732d11a1ee822ddbc61765872d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/env bash

SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[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"