add script to generate API docs

This commit is contained in:
Ivailo Monev 2014-12-04 21:22:52 +00:00
parent 4f52348dc5
commit 0721ddc77e

23
docs.sh Executable file
View file

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