[neon/qt6/qt6-tools/Neon/release] debian: refine and fix logic for install

Carlos De Maine null at kde.org
Wed Dec 13 01:36:59 GMT 2023


Git commit a4246a69e34289bb716110dd2c3c0ea5257a85e0 by Carlos De Maine.
Committed on 13/12/2023 at 02:36.
Pushed by carlosdem into branch 'Neon/release'.

refine and fix logic for install

M  +7    -3    debian/rules

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

diff --git a/debian/rules b/debian/rules
index e1923d9..49aa938 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,16 +27,20 @@ override_dh_shlibdeps:
 override_dh_auto_build-indep:
 # support the nodoc build profile
 ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
-	echo -e "\nnodoc build profile enabled, therefor not building docs.\n"
+	echo -e "\nnodoc build profile enabled, therefore not building docs.\n"
 	dh_auto_build
 else
-override_dh_auto_build-indep:
-	echo -e "\nnodoc build profile not enabled, therefor building docs.\n"
+	echo -e "\nnodoc build profile not enabled, therefore building docs.\n"
 	dh_auto_build -- docs
 endif
 
 override_dh_auto_install-indep:
+# support the nodoc build profile
 ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+	echo -e "\nnodoc build profile enabled, therefore not installing docs.\n"
+	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
+else
+	echo -e "\nnodoc build profile enabled, therefore installing docs.\n"
 	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
 endif
 	# Remove build path from index files.


More information about the Neon-commits mailing list