docs(mk): added doxygen commands to build docs
when running ./mk --docs the docs will also be build with the code itself and the tests
This commit is contained in:
7
mk
7
mk
@@ -19,3 +19,10 @@ meson compile -C build
|
|||||||
if [[ "$1" != "--noTest" ]]; then
|
if [[ "$1" != "--noTest" ]]; then
|
||||||
meson test -C build
|
meson test -C build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if --docs are to be built
|
||||||
|
if [[ "$*" == *"--docs"* ]]; then
|
||||||
|
echo "Generating documentation..."
|
||||||
|
doxygen
|
||||||
|
cd docs/latex && make
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user