A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dist.
[simgrid.git]
/
docs
/
Build.sh
diff --git
a/docs/Build.sh
b/docs/Build.sh
index
74bcbfd
..
e39cf57
100755
(executable)
--- a/
docs/Build.sh
+++ b/
docs/Build.sh
@@
-2,7
+2,15
@@
#
# Simplistic script to rebuild our documentation with sphinx-build
#
# Simplistic script to rebuild our documentation with sphinx-build
-rm -rf build/doxy/ source/api/
+set -e
+
+if [ "x$1" != 'xdoxy' -a -e build/xml ] ; then
+ echo "(Doxygen not rerun)"
+else
+ rm -rf build/xml source/api/
+ cd source; doxygen; cd ..
+fi
+
sphinx-build -M html source build ${SPHINXOPTS}
cat source/img/graphical-toc.svg \
| perl -pe 's/(xlink:href="http)/target="_top" $1/' \
sphinx-build -M html source build ${SPHINXOPTS}
cat source/img/graphical-toc.svg \
| perl -pe 's/(xlink:href="http)/target="_top" $1/' \