X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/808e3788e31d306aa2d3f8c96122aa82346fbe0b..a7edc109a8d76fef7241d57490f647720ac8e1d1:/docs/Build.sh diff --git a/docs/Build.sh b/docs/Build.sh index 12fa8ceed2..d51e6edc09 100755 --- a/docs/Build.sh +++ b/docs/Build.sh @@ -57,5 +57,15 @@ do fi done -set +e -if [ -e /opt/simgrid ] ; then chmod +x /opt/simgrid; fi +if [ -e /opt/simgrid ] ; then chmod -x /opt/simgrid; fi + +set +e # Don't fail +if [ -e /usr/bin/linkchecker ] ; then + linkchecker --no-status -o csv --ignore-url='.*\.css$' --ignore-url=public/java/org build/html \ + | grep -v '^#' \ + | grep -v 'urlname;parentname;baseref;result;warningstring' + echo "done." +else + echo "Install linkchecker to have it executed when you build the doc." +fi +