Skip to content
Snippets Groups Projects
Commit e913a4b1 authored by Nicolas Martin's avatar Nicolas Martin :speech_balloon:
Browse files

Import build bash script

parent e3c35821
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
## Avoid the use of shell builtin echo (for -e option)
alias echo='/bin/echo -e'
## Check dependancies
##-------------------
## Sphinx, BibTeX extension and "Read The Docs" theme
if [ -n "$( ./tools/check_pkg.py sphinx sphinxcontrib.bibtex sphinx_rtd_theme )" ]; then
echo 'One of the Python dependencies is missing => QUIT'
exit 2
fi
cd rst
echo "\t¤ Clean previous build"
make clean
echo
echo "\t¤ Generation of the guide"
make html > /dev/null
echo
echo "\t¤ End of building run"
echo "Open ./rst/build/html/NEMO_guide.html"
cd - > /dev/null
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment