[neon/qt6/qt6-base/Neon/release] debian: match the pattern

Carlos De Maine null at kde.org
Thu Dec 5 12:07:17 GMT 2024


Git commit 3404d71b6eef6fd388d13fa0f1e50fe893a418f3 by Carlos De Maine.
Committed on 05/12/2024 at 12:07.
Pushed by carlosdem into branch 'Neon/release'.

match the pattern

M  +3    -3    debian/rules

https://invent.kde.org/neon/qt6/qt6-base/-/commit/3404d71b6eef6fd388d13fa0f1e50fe893a418f3

diff --git a/debian/rules b/debian/rules
index 7344dfd..25b92c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,11 +16,11 @@ sslpkgname := $(shell dpkg-query --show '--showformat=$${Depends}' libssl-dev |
 ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)),)
 	extra_build_args +=
 	extra_install_args +=
-	build_docs = false
+	build_docs += false
 else
 	extra_build_args += docs
 	extra_install_args += install_docs
-	build_docs = true
+	build_docs += true
 endif
 
 ifneq (,$(filter libqt6sql6-ibase,$(shell dh_listpackages)))
@@ -117,7 +117,7 @@ override_dh_auto_build-indep:
 override_dh_auto_install-indep:
 	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- $(extra_install_args)
 	# Remove build path from index files if we are a doc build.
-	ifeq ($(BUILD_DOCS),"true")
+	ifeq ($(build_docs),true)
 		find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
 			sed -i 's@$(CURDIR)/@@g' {} \;
 	endif


More information about the Neon-commits mailing list