[neon/qt6/qt6-tools/Neon/release] debian: do not double negate

Carlos De Maine null at kde.org
Sun Oct 27 01:01:26 BST 2024


Git commit 102f101d9c848b2ca5bf4deb74b296c00dc3c527 by Carlos De Maine.
Committed on 27/10/2024 at 00:01.
Pushed by carlosdem into branch 'Neon/release'.

do not double negate

M  +26   -9    debian/rules

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

diff --git a/debian/rules b/debian/rules
index 786de54..73350f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,25 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 #export DEB_BUILD_PROFILES := ${DEB_BUILD_PROFILES} neon_nodoc
 
 export LLVM_INSTALL_DIR := $(shell llvm-config --prefix)
-
+qt6-toolsqt6-tools
+debian
+rules
+
+Find file
+Blame
+History
+Permalink
+
+docs build
+debian
+rules
+
+Find file
+Blame
+History
+Permalink
+
+docs build
 %:
 	dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
 
@@ -23,8 +41,13 @@ override_dh_auto_configure:
 override_dh_shlibdeps:
 	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
 
-## attention to the negation
-ifneq ($(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
 
@@ -33,12 +56,6 @@ override_dh_auto_install-indep:
 	# Remove build path from index files.
 	find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
                 sed -i 's@$(CURDIR)/@@g' {} \;
-else
-override_dh_auto_build-indep:
-	dh_auto_build
-
-override_dh_auto_install-indep:
-	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
 endif
 
 execute_after_dh_auto_install-arch:


More information about the Neon-commits mailing list