From b5d92aaa1430830b4c8adaef7f2792591ba646ef Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 3 Feb 2015 00:42:16 -0800 Subject: [PATCH] Add mkdocs as build dependency in checkdeps.sh and BUILDDEPS.md --- BUILDDEPS.md | 5 +++-- checkdeps.sh | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/BUILDDEPS.md b/BUILDDEPS.md index 591a28336..e681e1134 100644 --- a/BUILDDEPS.md +++ b/BUILDDEPS.md @@ -2,9 +2,10 @@ ### Build Dependencies This installation document assumes Ubuntu 14.04 or later on x86-64 platform. -##### Install Git and GCC +##### Install Git, GCC and MkDocs ```sh -$ sudo apt-get install git build-essential +$ sudo apt-get install git build-essential python-pip +$ sudo pip install mkdocs ``` ##### Install YASM diff --git a/checkdeps.sh b/checkdeps.sh index ff1f6102c..63fbaa5b4 100755 --- a/checkdeps.sh +++ b/checkdeps.sh @@ -45,6 +45,11 @@ if ! yasm -f elf64 pkg/storage/erasure/gf-vect-dot-prod-avx2.asm -o /dev/null 2> MISSING="${MISSING} yasm(1.2.0)" fi +env mkdocs help >/dev/null 2>&1 +if [ $? -ne 0 ]; then + MISSING="${MISSING} mkdocs" +fi + ## If dependencies are missing, warn the user and abort if [ "x${MISSING}" != "x" ]; then echo "ERROR"