doxygen/doxygen-build

22 lines
441 B
Text
Raw Normal View History

2022-08-05 09:16:55 +02:00
#!/bin/bash
set -e
[[ -z "${PLUGIN_DOXYFILE}" ]] && exit 1 || DOXYFILE=$(realpath "${PLUGIN_DOXYFILE}")
DOCS_PATH=$(dirname $DOXYFILE)
echo ""
echo "**** environment: ****"
echo "* DOXYFILE=${DOXYFILE}"
echo "* DOCS_PATH=${DOCS_PATH}"
echo "**********************"
echo ""
echo "**** build html ****"
/usr/lib/m.css/documentation/doxygen.py $DOXYFILE
echo "**** build latex ****"
cd $DOCS_PATH/latex
make
mv refman.pdf $DOCS_PATH/html/