[neon/qt6/qt6-base/Neon/unstable] debian: $(extra_install_args)

Carlos De Maine null at kde.org
Wed Dec 4 22:15:07 GMT 2024


Git commit d76dabb81c0852089762192ae589ac4023c961d2 by Carlos De Maine.
Committed on 04/12/2024 at 22:14.
Pushed by carlosdem into branch 'Neon/unstable'.

$(extra_install_args)

M  +5    -3    debian/rules

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

diff --git a/debian/rules b/debian/rules
index 031dfc4..2041d82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,10 @@ sslpkgname := $(shell dpkg-query --show '--showformat=$${Depends}' libssl-dev |
 
 ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)),)
 	extra_build_args +=
+	extra_install_args +=
 else
-	extra_build_args += -- docs
+	extra_build_args += docs
+	extra_install_args += install_docs
 endif
 
 ifneq (,$(filter libqt6sql6-ibase,$(shell dh_listpackages)))
@@ -109,10 +111,10 @@ override_dh_auto_configure:
 		$(extra_cmake_args)
 
 override_dh_auto_build-indep:
-	dh_auto_build $(extra_build_args)
+	dh_auto_build -- $(extra_build_args)
 
 override_dh_auto_install-indep:
-	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
+	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- $(extra_install_args)
 	# Remove build path from index files.
 	find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
                 sed -i 's@$(CURDIR)/@@g' {} \;


More information about the Neon-commits mailing list