[neon/qt6/qt6-base/Neon/release] debian: logic

Carlos De Maine null at kde.org
Fri Dec 15 14:55:08 GMT 2023


Git commit 6d5a5d4db6d494511d0b270805480cf9262b6c30 by Carlos De Maine.
Committed on 15/12/2023 at 15:55.
Pushed by carlosdem into branch 'Neon/release'.

logic

M  +7    -7    debian/rules

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

diff --git a/debian/rules b/debian/rules
index f4c037a..cabc606 100755
--- a/debian/rules
+++ b/debian/rules
@@ -125,7 +125,13 @@ execute_after_dh_auto_install-arch:
 	sed -i 's,lib/qt6/bin/qmake,bin/$(DEB_HOST_GNU_TYPE)-qmake6,' \
 		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt6CoreTools/Qt6CoreToolsTargets-relwithdebinfo.cmake
 
-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
 
@@ -134,12 +140,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
 
 ### no longer needed??


More information about the Neon-commits mailing list