summaryrefslogtreecommitdiff
path: root/backend/dep
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dep')
-rwxr-xr-xbackend/dep/build_ikiwiki.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/dep/build_ikiwiki.sh b/backend/dep/build_ikiwiki.sh
index 56f6325..52543f3 100755
--- a/backend/dep/build_ikiwiki.sh
+++ b/backend/dep/build_ikiwiki.sh
@@ -6,8 +6,9 @@ cd "$SCRIPTDIR"/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="$(pwd)/.." INSTALL_BASE="$(pwd)/.." &&
-perl Makefile.PL PREFIX= INSTALL_BASE="$SCRIPTDIR/prefix" &&
+PERL5LIB="$SCRIPTDIR/prefix/lib/perl5" perl Makefile.PL PREFIX="$SCRIPTDIR/prefix" INSTALL_BASE= &&
make &&
+make install PREFIX="$SCRIPTDIR/prefix" &&
echo To run ikiwiki: &&
-echo "PERL5LIB='$SCRIPTDIR/prefix' '$(pwd)/'ikiwiki.out"
+echo "$SCRIPTDIR/prefix/bin/ikiwiki"