Skip to content
Snippets Groups Projects
Commit 0c952616 authored by Tomas Lovato's avatar Tomas Lovato
Browse files

add more info on manual_build.sh usage

parent 6de576b4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment