summaryrefslogtreecommitdiff
path: root/backend/dep
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-13 07:20:04 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-13 07:20:04 -0800
commit061b64cea0cd00f5336d8a6fd1ccbafedbea758e (patch)
treebdd778f65207829bf8337c2f88b32e4f65e380b3 /backend/dep
parentc5a6e7c96cf3fe32315e16c91dbbc47fc9ba958e (diff)
parent760945efa2583ced528cea739a5ba967c13ec36c (diff)
downloadstandingwithresilience-061b64cea0cd00f5336d8a6fd1ccbafedbea758e.tar.gz
standingwithresilience-061b64cea0cd00f5336d8a6fd1ccbafedbea758e.zip
Merge branch 'master' of https://gitlab.com/standingwithresilience/standingwithresilience.gitlab.io
Diffstat (limited to 'backend/dep')
-rwxr-xr-xbackend/dep/build_ikiwiki.sh12
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"