[neon/extras/kuserfeedback/Neon/release] debian: build doc only in indep builds

Pino Toscano null at kde.org
Thu Sep 8 16:47:13 BST 2022


Git commit 97834cc5a56d53c92f4a9730da3e0d06177c7c3e by Pino Toscano.
Committed on 27/10/2020 at 20:11.
Pushed by jriddell into branch 'Neon/release'.

build doc only in indep builds

M  +6    -0    debian/changelog
M  +1    -1    debian/control
M  +5    -2    debian/rules

https://invent.kde.org/neon/extras/kuserfeedback/commit/97834cc5a56d53c92f4a9730da3e0d06177c7c3e

diff --git a/debian/changelog b/debian/changelog
index 5e48d52..6782ea3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,11 @@
 kuserfeedback (1.0.0-3) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Build the documentation only in -indep builds:
+    - pass -DENABLE_DOCS=OFF to cmake in dh_auto_configure of -arch builds
+    - pass -DENABLE_DOCS=ON to cmake in dh_auto_configure of -indep builds
+    - move qdoc-qt5 as Build-Depends-Indep
+    - drop the -DBUILD_QCH=ON cmake parameter, as it does not exist
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 27 Oct 2020 21:06:56 +0100
 
diff --git a/debian/control b/debian/control
index d4060a9..2a4b575 100644
--- a/debian/control
+++ b/debian/control
@@ -15,11 +15,11 @@ Build-Depends: bison,
                qtbase5-dev (>= 5.8.0~),
                qtdeclarative5-dev,
                qtdeclarative5-dev-tools,
-               qdoc-qt5,
                qttools5-dev,
                qttools5-dev-tools (>= 5.4),
                xauth,
                xvfb,
+Build-Depends-Indep: qdoc-qt5,
 Rules-Requires-Root: no
 Standards-Version: 4.5.0
 Homepage: https://invent.kde.org/libraries/kuserfeedback
diff --git a/debian/rules b/debian/rules
index 219f488..7877a33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
 
-override_dh_auto_configure:
-	dh_auto_configure -- -DBUILD_QCH=ON
+override_dh_auto_configure-arch:
+	dh_auto_configure -- -DENABLE_DOCS=OFF
+
+override_dh_auto_configure-indep:
+	dh_auto_configure -- -DENABLE_DOCS=ON
 
 override_dh_auto_test:
 	xvfb-run dh_auto_test --no-parallel



More information about the Neon-commits mailing list