diff --git a/doc/README b/doc/README index 2d8755731b0f4b5faa5d905af99fecd14d7ee0bf..ea1e6e719e5623c24a7d0c6e07b055edd2b1441c 100644 --- a/doc/README +++ b/doc/README @@ -12,3 +12,10 @@ $doxygen Doxyfile The html file index.html should be in doc/html. +Debian +===================== +#To build documentation first install dependencies (doxygen, doxyqml and dot): +sudo apt install doxygen graphviz doxyqml + +#Then build documentation in the doc/ directory +doxygen ./Doxyfile diff --git a/doc/dot b/doc/dot index 48ed5a4abe0bb4f3b654e12ac344493be34dab8e..07f4f280d5912049140ae63bfd8feb85609afadb 100755 --- a/doc/dot +++ b/doc/dot @@ -34,4 +34,13 @@ do fi done -/usr/local/bin/dot ${ARGS} +if [[ -x "/usr/local/bin/dot" ]] +then + /usr/local/bin/dot ${ARGS} +elif [[ -x "/usr/bin/dot" ]] +then + /usr/bin/dot ${ARGS} +else + echo "Program dot not found: See file doc/dot" + exit 1 +fi