Changeset 11263 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/manual_build.sh
- Timestamp:
- 2019-07-12T12:47:53+02:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc
- Property svn:ignore deleted
-
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/manual_build.sh
r11042 r11263 4 4 ##--------------- 5 5 6 ## latekmk options7 opts='-shell-escape -quiet -pdf'8 9 6 ## Default selection for models 10 7 if [ "$1" = 'all' ]; then 11 8 models='NEMO SI3 TOP' 12 9 elif [ "$1" = '' ]; then 13 10 models='NEMO' 14 11 else 15 12 models=$* 16 13 fi 17 14 … … 24 21 25 22 ## LaTeX installation, find latexmk should be enough 26 [ -z $( which latexmk ) ] && { echo 'latexmk binary is not present => QUIT'; exit 2; } 23 [ -z $( which latexmk ) ] && { echo 'latexmk not installed => QUIT'; exit 2; } 24 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 27 28 28 ## Retrieve figures if not already there 29 29 if [ ! -d latex/figures ]; then 30 31 30 printf "Downloading of shared figures and logos\n\n" 31 svn co https://forge.ipsl.jussieu.fr/nemo/svn/utils/figures latex/figures > /dev/null 32 32 fi 33 34 ## Pygments package for syntax highlighting of source code (namelists & snippets)35 [ -n "$( ./tools/check_pkg.py pygments )" ] && { exit 2; }36 33 37 34 … … 40 37 41 38 for model in $models; do 42 43 clean $model; build$model44 printf "\t¤ End of building run\n" 45 printf "\t The export should be available at root\n"46 printf "\t If not check LaTeX log in ./latex/$model/main/${model}_manual.log\n" 39 echo $model 40 clean $model 41 build $model 42 printf "\t¤ End of building run\n" 43 echo 47 44 done 48 45 49 46 exit 0 47
Note: See TracChangeset
for help on using the changeset viewer.