Add preliminary apidox support to CMake

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1251898 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
master
tpearson 13 years ago
parent b925432fbf
commit 0f04ca44af

@ -0,0 +1,17 @@
#!/bin/bash
top_srcdir=${1}
top_builddir=${2}
kde_libs_htmldir=${3}
export QTDOCDIR=${4}
if [[ ! -d "${top_srcdir}/doc/common/" ]]; then
export DOXDATA=$(kde_libs_htmldir)/en/common
fi
abs_top_srcdir=$(cd ${top_srcdir} && pwd)
rm -rf ${top_builddir}/${kde_libs_htmldir}/en
mkdir -p ${top_builddir}/${kde_libs_htmldir}/en
cd ${top_builddir}/${kde_libs_htmldir}/en
${abs_top_srcdir}/admin/doxygen.sh --modulename --installdir=${top_builddir}/${kde_libs_htmldir}/en ${abs_top_srcdir}

@ -0,0 +1,12 @@
#!/bin/bash
top_srcdir=${1}
top_builddir=${2}
kde_libs_htmldir=${3}
installdir=${DESTDIR}
abs_top_srcdir=$(cd ${top_srcdir} && pwd)
cd ${top_builddir}
mkdir -p ${installdir}/${kde_libs_htmldir}/en
cp -Rp ${top_builddir}/${kde_libs_htmldir}/en ${installdir}/${kde_libs_htmldir}/
Loading…
Cancel
Save