[neon/neon-packaging/kde-qdoc-common/Neon/release] debian: refine rules and installs

Carlos De Maine null at kde.org
Wed Jul 30 12:54:30 BST 2025


Git commit f0dc1645db7c90636469c27066c2cc266c1d8fff by Carlos De Maine.
Committed on 30/07/2025 at 11:54.
Pushed by carlosdem into branch 'Neon/release'.

refine rules and installs

M  +15   -0    debian/control
A  +1    -0    debian/kde-qdoc-common-dev.install
A  +1    -0    debian/kde-qdoc-common.install
M  +21   -0    debian/rules

https://invent.kde.org/neon/neon-packaging/kde-qdoc-common/-/commit/f0dc1645db7c90636469c27066c2cc266c1d8fff

diff --git a/debian/control b/debian/control
index 482722e..d974e7b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,12 @@ Maintainer: KDE Neon <neon at kde.org>
 Uploaders: KDE Neon <neon at kde.org>,
 Build-Depends: cmake,
                debhelper-compat (= 13),
+               doxygen,
+               graphviz,
                kf6-extra-cmake-modules,
                pkg-kde-tools-neon,
                qt6-base-dev,
+               qt6-tools-dev,
 Standards-Version: 4.6.2
 Homepage: http://www.kde.org
 Vcs-Browser: https://invent.kde.org/sdk/kde-qdoc-common
@@ -24,3 +27,15 @@ Description: Common files for KDE's API documentation
  sync them with upstream to incorporate improvements from there.
  .
  This package is part of the KDE sdk module.
+
+Package: kde-qdoc-common-dev
+Architecture: any
+Section: utils
+Depends: kde-qdoc-common, ${misc:Depends}, ${shlibs:Depends}
+Description: Development files for KDE's API documentation
+ The development files for KDE's API documentation. Individual projects include
+ it in their documentation builds. The files in the 'global' folder are
+ forked from Qt. We can modify them at will, however we should periodically
+ sync them with upstream to incorporate improvements from there.
+ .
+ This package is part of the KDE sdk module.
diff --git a/debian/kde-qdoc-common-dev.install b/debian/kde-qdoc-common-dev.install
new file mode 100644
index 0000000..9ba2755
--- /dev/null
+++ b/debian/kde-qdoc-common-dev.install
@@ -0,0 +1 @@
+usr/share/qt6/doc/kde-qdoc-common-dev/
diff --git a/debian/kde-qdoc-common.install b/debian/kde-qdoc-common.install
new file mode 100644
index 0000000..5e7a7a7
--- /dev/null
+++ b/debian/kde-qdoc-common.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/qt6/doc/kde/
diff --git a/debian/rules b/debian/rules
index 49552b2..196edeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,26 @@
 # SPDX-License-Identifier: LGPL-2.0-or-later
 # # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
+export KDE_DOCS="../kde-qdoc-common"
+
 %:
 	dh $@ --with kf6 --buildsystem kf6
+
+override_dh_auto_configure:
+	mkdir -p usr/share/qt6/doc/kde-qdoc-common-dev/
+	cp  ./*.* ./usr/share/qt6/doc/kde-qdoc-common-dev/
+	ls -lsh
+	cp -r global ./usr/share/qt6/doc/kde-qdoc-common-dev/
+	dh_auto_configure -- -DDOC_DESTDIR=usr/share/qt6/doc
+
+override_dh_auto_build:
+	dh_auto_build
+	dh_auto_build -- prepare_docs
+	dh_auto_build -- generate_docs
+	cp -r obj-${DEB_BUILD_GNU_TYPE}/usr/share/qt6/doc/kde/ ./usr/share/qt6/doc/
+	#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