[neon/kde/akonadi-mime/Neon/unstable] debian: bring back the docs

Carlos De Maine null at kde.org
Sun Apr 12 10:08:43 BST 2026


Git commit a17ae38d09393524739a474bc708f015b3b2f2fb by Carlos De Maine.
Committed on 12/04/2026 at 09:08.
Pushed by carlosdem into branch 'Neon/unstable'.

bring back the docs

M  +1    -0    debian/control
M  +1    -0    debian/kpim6-akonadi-mime-dev.install
M  +13   -0    debian/rules

https://invent.kde.org/neon/kde/akonadi-mime/-/commit/a17ae38d09393524739a474bc708f015b3b2f2fb

diff --git a/debian/control b/debian/control
index 6050a44..80f6d55 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Uploaders: Sune Vuorela <sune at debian.org>,
 Build-Depends: cmake,
                debhelper-compat (= 13),
                doxygen,
+               kde-qdoc-common-dev,
                kf6-extra-cmake-modules,
                kf6-kcolorscheme-dev,
                kf6-kconfig-dev,
diff --git a/debian/kpim6-akonadi-mime-dev.install b/debian/kpim6-akonadi-mime-dev.install
index 4954f92..f240aec 100644
--- a/debian/kpim6-akonadi-mime-dev.install
+++ b/debian/kpim6-akonadi-mime-dev.install
@@ -1,3 +1,4 @@
 usr/include/KPim6/AkonadiMime/
 usr/lib/*/cmake/KPim6AkonadiMime/
 usr/lib/*/libKPim6AkonadiMime.so
+usr/share/qt6/doc/
diff --git a/debian/rules b/debian/rules
index 7ff1376..a00c446 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 # SPDX-License-Identifier: LGPL-2.0-or-later
 # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
+export KDE_DOCS=/usr/share/qt6/doc/kde-qdoc-common-dev
+
 %:
 	dh $@ --with kf6 --buildsystem kf6
 
@@ -9,3 +11,14 @@ override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DCOMPILE_WITH_UNITY_CMAKE_SUPPORT=ON \
 		-DBUILD_QCH=ON
+
+override_dh_auto_build:
+	dh_auto_build
+	dh_auto_build -- prepare_docs
+	dh_auto_build -- generate_docs
+	dh_auto_build -- generate_qch
+
+override_dh_auto_install:
+	dh_auto_install
+	dh_auto_install -- install_html_docs
+	dh_auto_install -- install_qch_docs


More information about the Neon-commits mailing list