[neon/qt6/qt6-serialport/Neon/release] debian: docs build

Carlos De Maine null at kde.org
Sat Oct 26 11:34:52 BST 2024


Git commit ca635110e06a98e9266b97598b04897e11a4c209 by Carlos De Maine.
Committed on 26/10/2024 at 10:34.
Pushed by carlosdem into branch 'Neon/release'.

docs build

M  +3    -3    debian/control
M  +1    -1    debian/qt6-serialport-doc.install
M  +11   -11   debian/rules

https://invent.kde.org/neon/qt6/qt6-serialport/-/commit/ca635110e06a98e9266b97598b04897e11a4c209

diff --git a/debian/control b/debian/control
index 4d24e19..68b4faf 100644
--- a/debian/control
+++ b/debian/control
@@ -13,9 +13,9 @@ Build-Depends: cmake,
                pkgconf,
                pkg-kde-tools,
                qt6-base-dev (>= 6.8.0)
-#Build-Depends-Indep: qt6-base-dev (>= 6.8~) <!nodoc>,
-#                     qt6-documentation-tools (>= 6.8~) <!nodoc>,
-#                     qt6-base-doc (>= 6.8~) <!nodoc>,
+Build-Depends-Indep: qt6-base-dev (>= 6.8~) <!nodoc>,
+                     qt6-documentation-tools (>= 6.8~) <!nodoc>,
+                     qt6-base-doc (>= 6.8~) <!nodoc>,
 Standards-Version: 4.6.2
 Homepage: https://www.qt.io/developers/
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/qt6/qt6-serialport
diff --git a/debian/qt6-serialport-doc.install b/debian/qt6-serialport-doc.install
index 36c01e0..8536ff4 100644
--- a/debian/qt6-serialport-doc.install
+++ b/debian/qt6-serialport-doc.install
@@ -1 +1 @@
-#usr/share/qt6/doc/
+usr/share/qt6/doc/
diff --git a/debian/rules b/debian/rules
index 40dfa9c..829d402 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,22 +20,22 @@ override_dh_auto_configure:
 		-DQT_UNITY_BUILD=ON \
 		$(extra_cmake_args)
 
-#ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
 override_dh_auto_build-indep:
 	dh_auto_build
 
 override_dh_auto_install-indep:
 	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
-#else
-#override_dh_auto_build-indep:
-#	dh_auto_build -- docs
-
-#override_dh_auto_install-indep:
-#	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
-#	# Remove build path from index files.
-#	find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
-#                sed -i 's@$(CURDIR)/@@g' {} \;
-#endif
+else
+override_dh_auto_build-indep:
+	dh_auto_build -- docs
+
+override_dh_auto_install-indep:
+	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
+	# Remove build path from index files.
+	find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
+                sed -i 's@$(CURDIR)/@@g' {} \;
+endif
 
 execute_after_dh_auto_install-arch:
 	# Reproducible builds: remove build paths from .prl files


More information about the Neon-commits mailing list