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.
manual_build.sh in NEMO/trunk/doc – NEMO

source: NEMO/trunk/doc/manual_build.sh

Last change on this file was 14257, checked in by nicolasmartin, 3 years ago

Overall review of LaTeX sources (not tested completely as of now):

  • Reworking global files: main document.tex, add glossary.tex, cosmetic changes...
  • Ignore missing namelists (namsbc_isf, namsbc_iscpl and namptr)
  • Removal of references for unused indices (\hfile, \ifile and \jp)
  • Update of .svnignore and svn:ignore properties accordingly
  • Split of manual abstract into a common NEMO abs for all and a specific one for each engine
  • Shrinking variables names used in the frontmatter
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 799 bytes
RevLine 
[9407]1#!/bin/sh
2
[11004]3## Initialisation
4##---------------
[9407]5
[11004]6## Default selection for models
7if   [ "$1" = 'all' ]; then
[11120]8    models='NEMO SI3 TOP'
[11004]9elif [ "$1" =    '' ]; then
[11120]10    models='NEMO'
[11004]11else
[11120]12    models=$*
[11004]13fi
[10146]14
[11004]15# Source shared functions
16. tools/shr_func.sh
[10146]17
18
[11004]19## Check dependancies
20##-------------------
[10474]21
[11004]22## LaTeX installation, find latexmk should be enough
[14257]23[ -z "$( which latexmk )" ] && { echo 'latexmk not installed => QUIT'; exit 2; }
[10474]24
[11120]25## Pygments package for syntax highlighting of source code (namelists & snippets)
26[ -n "$( ./tools/check_pkg.py pygments )" ] && { echo 'Python pygments is missing => QUIT'; exit 2; }
27
[11004]28## Loop on the models
29##-------------------
30
31for model in $models; do
[11120]32    echo $model
[11594]33#    clean $model
[11120]34    build $model
35    printf "\t¤ End of building run\n"
36    echo
[11004]37done
38
[9407]39exit 0
Note: See TracBrowser for help on using the repository browser.