commit 4c993021719b0aa2f04f65afb04ebc063faaef7f parent 2dd3ad5317d36667c9f618bccffaf90a673ade28 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Fri, 2 Jun 2017 15:21:49 +0200 script for updating and compiling all docs Diffstat:
| A | taler-build/update_docs.sh | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 47 insertions(+), 0 deletions(-)
diff --git a/taler-build/update_docs.sh b/taler-build/update_docs.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +set -eu + +fetch () { + git clean -fdx + git fetch + # reset to updated upstream branch, but only if we're tracking a branch + branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD) + git reset --hard "$branch" +} + +# 1 merchant +cd $HOME/merchant +fetch +./bootstrap +./configure --with-gnunet=$HOME/local \ + --with-exchange=$HOME/local \ + --with-microhttpd=$HOME/local +cd doc/ +make pdf + +# 2 exchange +cd $HOME/exchange +fetch +./bootstrap +./configure --with-libgnurl=$HOME/local \ + --with-microhttpd=$HOME/local \ + --with-gnunet=$HOME/local +cd doc/ +make pdf + +# 3 frontends tutorials +cd $HOME/merchant-frontend-examples +fetch +make + +# 4 api +cd $HOME/api +fetch +make html + +# 5 onboarding +cd $HOME/deployment +fetch +cd doc/ +texi2pdf onboarding.texi