summaryrefslogtreecommitdiffstats
path: root/generate_apidox
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:21:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:21:06 +0000
commit6858337cafe2e22f63e298a2c6719324daa35bbe (patch)
treea022beb444c0297a600629479d423d0a5e3c78fb /generate_apidox
parent6e930aafbce63dceca89913a6edbd8f1762dec9c (diff)
downloadtde-cmake-6858337cafe2e22f63e298a2c6719324daa35bbe.tar.gz
tde-cmake-6858337cafe2e22f63e298a2c6719324daa35bbe.zip
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
Diffstat (limited to 'generate_apidox')
-rwxr-xr-xgenerate_apidox17
1 files changed, 17 insertions, 0 deletions
diff --git a/generate_apidox b/generate_apidox
new file mode 100755
index 0000000..f13f11d
--- /dev/null
+++ b/generate_apidox
@@ -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}