aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap19
1 files changed, 19 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 96c0f7196..751726061 100755
--- a/bootstrap
+++ b/bootstrap
@@ -102,6 +102,24 @@ submodules()
102 fi 102 fi
103} 103}
104 104
105sphinx_update()
106{
107 if existence sphinx-build; then
108 cwd=$PWD
109 cd contrib/sphinx || exit 1
110 # GNS
111 make all || exit 1
112 cp -r _build/html ../../doc/handbook/ || exit 1
113 cp -r _build/texinfo ../../doc/handbook/ || exit 1
114 cp -r _build/man/* ../../doc/man || exit 1
115 cd $cwd
116 else
117 echo "ERROR: Sphinx not found! Unable to generate recent documentation."
118 exit 1
119 fi
120}
121
122
105gana_update() 123gana_update()
106{ 124{
107 if existence recfmt; then 125 if existence recfmt; then
@@ -140,6 +158,7 @@ main()
140 cleanup 158 cleanup
141 submodules 159 submodules
142 gana_update 160 gana_update
161 sphinx_update
143 check_uncrustify 162 check_uncrustify
144 check_yapf 163 check_yapf
145 check_libtool 164 check_libtool