2024-09-23 16:01:31 +08:00

11 lines
186 B
Bash
Executable File

#!/bin/bash
DIR=${1:-"./"}
if command -v doxygen >/dev/null 2>&1; then
if [ -d "$DIR/html" ]; then
rm -rf "$DIR/html"
fi
doxygen "$DIR/Doxyfile" > "$DIR/doxygen.log" 2>&1
fi