Add preliminary apidox support to CMake

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1251898 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
pull/1/head
tpearson 13 years ago
parent 6e930aafbc
commit 6858337caf

@ -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