[neon/3rdparty/libaccounts-qt/Neon/unstable] debian: properly delineate builds

Carlos De Maine null at kde.org
Sat Jun 24 02:28:53 BST 2023


Git commit 6ab3eae64b7279a4acf6c5deb5971e2e0540ca6f by Carlos De Maine.
Committed on 24/06/2023 at 01:28.
Pushed by carlosdem into branch 'Neon/unstable'.

properly delineate builds

M  +9    -9    debian/rules

https://invent.kde.org/neon/3rdparty/libaccounts-qt/-/commit/6ab3eae64b7279a4acf6c5deb5971e2e0540ca6f

diff --git a/debian/rules b/debian/rules
index 36cac47..317c00a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 # -*- makefile -*-
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+#xport DH_VERBOSE=1
 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
 
 %:
@@ -13,23 +13,23 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 execute_after_dh_auto_clean:
-	rm -rf build-qt6
-	mkdir build-qt6 
+	rm -rf build5
+	mkdir build5
 
 override_dh_auto_configure:
-	QT_SELECT=qt5 dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
-	QT_SELECT=qt6 dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) 
+	QT_SELECT=qt6 dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+	QT_SELECT=qt5 dh_auto_configure -B build5 -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) 
 
 override_dh_auto_build:
 	dh_auto_build
-	dh_auto_build --builddirectory=build-qt6
+	dh_auto_build -B build5
 
 
 override_dh_auto_install:
-	dh_auto_install
-	find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
-	
+	dh_auto_install &&	find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
+	dh_auto_install -B build5 &&	find debian/tmp -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \;
 
 override_dh_auto_test:
 	# Disable unittests
 	:
+	:


More information about the Neon-commits mailing list