[neon/qt6/qbs/Neon/release] debian: exactly from salsa

Carlos De Maine null at kde.org
Tue Oct 29 10:09:53 GMT 2024


Git commit c152d7502faa770a00f2ef1e84991c1ec20c1af1 by Carlos De Maine.
Committed on 29/10/2024 at 10:09.
Pushed by carlosdem into branch 'Neon/release'.

exactly from salsa

M  +7    -7    debian/rules

https://invent.kde.org/neon/qt6/qbs/-/commit/c152d7502faa770a00f2ef1e84991c1ec20c1af1

diff --git a/debian/rules b/debian/rules
index 48ac4a1..85d9a73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,7 @@
 #!/usr/bin/make -f
 
 # Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-export PATH := /usr/lib/qt6/bin:$(PATH)
+#export DH_VERBOSE=1
 
 include /usr/share/dpkg/default.mk
 
@@ -25,8 +24,8 @@ BUILDPATH ?= obj-$(DEB_HOST_GNU_TYPE)
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DQBS_ENABLE_RPATH=no \
-		-DWITH_TESTS=no \
-		-DWITH_UNIT_TESTS=no \
+		-DWITH_TESTS=yes \
+		-DWITH_UNIT_TESTS=yes \
 		-DQBS_LIB_INSTALL_DIR=lib/${DEB_HOST_MULTIARCH} \
 		-DQBS_PLUGINS_INSTALL_BASE=lib/${DEB_HOST_MULTIARCH} \
 		-DQBS_INSTALL_MAN_PAGE=yes \
@@ -35,9 +34,10 @@ override_dh_auto_configure:
 
 override_dh_auto_build-arch:
 	dh_auto_build -- -C src
-#ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	dh_auto_build -- -C share
-#endif
+	dh_auto_build -- -C tests
+endif
 
 override_dh_auto_install-arch:
 	dh_auto_install -- -C src
@@ -72,4 +72,4 @@ endif
 override_dh_auto_test-indep:
 
 override_dh_compress:
-	dh_compress --exclude=.qch
\ No newline at end of file
+	dh_compress --exclude=.qch


More information about the Neon-commits mailing list