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

Carlos De Maine null at kde.org
Sat Oct 26 11:38:41 BST 2024


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

docs build

M  +3    -3    debian/control
M  +1    -1    debian/qt6-tools-doc.install
M  +12   -12   debian/rules

https://invent.kde.org/neon/qt6/qt6-tools/-/commit/10e1e1c79c72f302fa68d2b7f318690c20a2734c

diff --git a/debian/control b/debian/control
index 9c3d592..97ef04f 100644
--- a/debian/control
+++ b/debian/control
@@ -21,9 +21,9 @@ Build-Depends: clang,
                pkg-kde-tools,
                qt6-base-dev (>= 6.8.0~),
                qt6-declarative-dev (>= 6.8.0~)
-#Build-Depends-Indep: qt6-base-dev (>= 6.8~) <!nodoc>,
-#                     qt6-base-doc (>= 6.8~) <!nodoc>,
-#                     qt6-documentation-tools (>= 6.8~) <!nodoc>,
+Build-Depends-Indep: qt6-base-dev (>= 6.8~) <!nodoc>,
+                     qt6-base-doc (>= 6.8~) <!nodoc>,
+                     qt6-documentation-tools (>= 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-tools
diff --git a/debian/qt6-tools-doc.install b/debian/qt6-tools-doc.install
index d22b0e0..6a0b95c 100644
--- a/debian/qt6-tools-doc.install
+++ b/debian/qt6-tools-doc.install
@@ -1 +1 @@
-#usr/share/qt6/doc
+usr/share/qt6/doc
diff --git a/debian/rules b/debian/rules
index 851730c..786de54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,23 +24,23 @@ override_dh_shlibdeps:
 	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
 
 ## attention to the negation
-#ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
-#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' {} \;
-#else
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+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' {} \;
+else
 override_dh_auto_build-indep:
 	dh_auto_build
 
 override_dh_auto_install-indep:
 	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
-#endif
+endif
 
 execute_after_dh_auto_install-arch:
 	# Reproducible builds: remove build paths from .prl files
-	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl
\ No newline at end of file
+	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl


More information about the Neon-commits mailing list