Merge pull request #126 from harshavardhana/pr_out_add_mkdocs_as_build_dependency_in_checkdeps_sh_and_builddeps_md

This commit is contained in:
Harshavardhana 2015-02-03 00:42:28 -08:00
commit 297552e302
2 changed files with 8 additions and 2 deletions

View File

@ -2,9 +2,10 @@
### Build Dependencies ### Build Dependencies
This installation document assumes Ubuntu 14.04 or later on x86-64 platform. This installation document assumes Ubuntu 14.04 or later on x86-64 platform.
##### Install Git and GCC ##### Install Git, GCC and MkDocs
```sh ```sh
$ sudo apt-get install git build-essential $ sudo apt-get install git build-essential python-pip
$ sudo pip install mkdocs
``` ```
##### Install YASM ##### Install YASM

View File

@ -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)" MISSING="${MISSING} yasm(1.2.0)"
fi 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 dependencies are missing, warn the user and abort
if [ "x${MISSING}" != "x" ]; then if [ "x${MISSING}" != "x" ]; then
echo "ERROR" echo "ERROR"