summaryrefslogtreecommitdiffstats
path: root/q15/cmake/generate_apidox
diff options
context:
space:
mode:
authorDenis Kozadaev <[email protected]>2020-03-28 14:31:25 +0300
committerSlávek Banko <[email protected]>2020-12-02 19:51:24 +0100
commitafd39a42465117e8926ad7a858dc65c9bf654fa0 (patch)
treeafbe8c4d9805902061830956bf6cd57674e196d2 /q15/cmake/generate_apidox
parent36d0f854d7fc6415b31e262d0f16c91159c41b4a (diff)
downloadtdegames-afd39a42465117e8926ad7a858dc65c9bf654fa0.tar.gz
tdegames-afd39a42465117e8926ad7a858dc65c9bf654fa0.zip
fifteen puzzle game
Signed-off-by: Denis Kozadaev <[email protected]> (cherry picked from commit b4978e97409c609686dc6eb97b150ed2e677ff13)
Diffstat (limited to 'q15/cmake/generate_apidox')
-rwxr-xr-xq15/cmake/generate_apidox17
1 files changed, 17 insertions, 0 deletions
diff --git a/q15/cmake/generate_apidox b/q15/cmake/generate_apidox
new file mode 100755
index 00000000..3a4e79cf
--- /dev/null
+++ b/q15/cmake/generate_apidox
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+top_srcdir=${1}
+top_builddir=${2}
+kde_libs_htmldir=${3}
+export TQTDOCDIR=${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}