source:
NEMO/trunk/doc/guide_build.sh
@
11905
Last change on this file since 11905 was 11034, checked in by nicolasmartin, 5 years ago | |
---|---|
|
|
File size: 581 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | ## Avoid the use of shell builtin echo (for -e option) |
4 | alias echo='/bin/echo -e' |
5 | |
6 | ## Check dependancies |
7 | ##------------------- |
8 | |
9 | ## Sphinx, BibTeX extension and "Read The Docs" theme |
10 | if [ -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 |
13 | fi |
14 | |
15 | cd rst |
16 | |
17 | echo "\t¤ Clean previous build" |
18 | make clean |
19 | echo |
20 | |
21 | echo "\t¤ Generation of the guide" |
22 | make html > /dev/null |
23 | echo |
24 | |
25 | echo "\t¤ End of building run" |
26 | echo "Open ./rst/build/html/NEMO_guide.html" |
27 | cd - > /dev/null |
28 | |
29 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.