diff --git a/doc/manual_build.sh b/doc/manual_build.sh index df56cbd67576c3fc25cbf78c8c934e9f3631b09b..f62a06d7cb745d97800bb7abab074f13c869a5d6 100755 --- a/doc/manual_build.sh +++ b/doc/manual_build.sh @@ -15,10 +15,10 @@ Usage: ------ ./manual_build.sh [-p] [-r version ] manual Mandatory - Chose one model manual among ${manuals} or all + Chose one model manual among ${manuals} or all (if not provided compile "NEMO") Optional -p Produce manual with figures and disable draft watermark - -r Specify the release version number of the manual(s) + -r Specify the release version number of the manual(s) instead of the branch name EOF exit 0 ;; ('p') x_p=0 ; shift ;; @@ -47,7 +47,7 @@ else fi # Version -version=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match || "trunk"` +version=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match || "orphan"` if [ "x${VER_NUM}" != 'x' ] ; then version=${VER_NUM} fi