New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
guide_build.sh in NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc – NEMO

source: NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/guide_build.sh @ 11317

Last change on this file since 11317 was 11042, checked in by girrmann, 5 years ago

dev_r10984_HPC-13 : update with trunk at revision 11041

  • Property svn:executable set to *
File size: 581 bytes
Line 
1#!/bin/sh
2
3## Avoid the use of shell builtin echo (for -e option)
4alias echo='/bin/echo -e'
5
6## Check dependancies
7##-------------------
8
9## Sphinx, BibTeX extension and "Read The Docs" theme
10if [ -n "$( ./tools/check_pkg.py sphinx sphinxcontrib.bibtex sphinx_rtd_theme )" ]; then
11    echo 'One of the Python dependencies is missing => QUIT'
12    exit 2
13fi
14
15cd rst
16
17echo "\t¤ Clean previous build"
18make clean
19echo
20
21echo "\t¤ Generation of the guide"
22make html > /dev/null
23echo
24
25echo "\t¤ End of building run"
26echo "Open ./rst/build/html/NEMO_guide.html"
27cd - > /dev/null
28
29exit 0
Note: See TracBrowser for help on using the repository browser.