[neon/qt6/qt6-webengine/Neon/release] debian: Fix doc install in rules.

Scarlett Moore null at kde.org
Wed Oct 25 14:49:45 BST 2023


Git commit 84738f9892106e937911a3d41241be7e6ddf0a2f by Scarlett Moore.
Committed on 25/10/2023 at 15:49.
Pushed by scarlettmoore into branch 'Neon/release'.

Fix doc install in rules.

M  +5    -4    debian/rules

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/84738f9892106e937911a3d41241be7e6ddf0a2f

diff --git a/debian/rules b/debian/rules
index 2d362c1..7573de9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,13 +87,14 @@ override_dh_auto_build:
 override_dh_auto_build-indep:
 	dh_auto_build -- docs
 
-execute_after_dh_auto_install:
-	# 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
-	# Install documentation.
+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' {} \;
 
+execute_after_dh_auto_install:
+	# 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
+
 override_dh_dwz:


More information about the Neon-commits mailing list