katana/docs.sh

18 lines
No EOL
317 B
Bash
Executable file

#!/bin/bash
set -e
version="$1"
packs=("kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps" "kde-docs")
cwd="$(pwd)"
if ! type -p doxygen;then
echo "Doxygen is not installed"
exit 1
fi
source "$(dirname $0)/fetch.sh"
rm -rf kde-docs/
echo "Generating API docs for ${packs[@]}..."
doxygen doxygen.conf