[neon/qt6/qt6-base/Neon/release] debian: try to build docs

Jonathan Riddell null at kde.org
Fri Oct 25 14:55:28 BST 2024


Git commit 9dbb6bb9a2068dde1b96eec60727555e371a9f83 by Jonathan Riddell.
Committed on 25/10/2024 at 13:55.
Pushed by jriddell into branch 'Neon/release'.

try to build docs

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

https://invent.kde.org/neon/qt6/qt6-base/-/commit/9dbb6bb9a2068dde1b96eec60727555e371a9f83

diff --git a/debian/control b/debian/control
index ae6ea92..c0b7afd 100644
--- a/debian/control
+++ b/debian/control
@@ -101,9 +101,9 @@ Build-Depends: cmake,
                shared-mime-info,
                unixodbc-dev,
                zlib1g-dev,
-#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/
 Rules-Requires-Root: no
diff --git a/debian/qt6-base-doc.install b/debian/qt6-base-doc.install
index 36c01e0..8536ff4 100644
--- a/debian/qt6-base-doc.install
+++ b/debian/qt6-base-doc.install
@@ -1 +1 @@
-#usr/share/qt6/doc/
+usr/share/qt6/doc/
diff --git a/debian/rules b/debian/rules
index 67b9c4f..eda973c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -121,22 +121,22 @@ execute_after_dh_auto_install-arch:
 	sed -i 's,lib/qt6/bin/qmake,bin/$(DEB_HOST_GNU_TYPE)-qmake6,' \
 		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt6CoreTools/Qt6CoreToolsTargets-relwithdebinfo.cmake
 
-#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
 
 ### no longer needed??
 override_dh_makeshlibs:


More information about the Neon-commits mailing list