[neon/3rdparty/libaccounts-qt/Neon/unstable] debian: try another route

Scarlett Moore null at kde.org
Wed Sep 20 17:38:46 BST 2023


Git commit 1e0acf2234f44e90e5932d194b297c316e4d702b by Scarlett Moore.
Committed on 20/09/2023 at 18:38.
Pushed by scarlettmoore into branch 'Neon/unstable'.

try another route

M  +2    -9    debian/rules

https://invent.kde.org/neon/3rdparty/libaccounts-qt/-/commit/1e0acf2234f44e90e5932d194b297c316e4d702b

diff --git a/debian/rules b/debian/rules
index 7703f55..308c93e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,15 +20,8 @@ override_dh_auto_configure:
 	mkdir -p build && cd build && QT_SELECT=5 qmake ../Accounts/Accounts.pro -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_build:
-	cd build6 && make
-	cd build && make
-
-override_dh_auto_install:
-	cd build6 && make install INSTALL_ROOT=/workspace/build/debian/tmp
-	cd build && make install INSTALL_ROOT=/workspace/build/debian/tmp
-
-override_dh_install:
-	cd /workspace/build && dh_install
+	cd build6 && dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp
+	cd build && dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp
 
 override_dh_auto_test:
 	# Disable unittests


More information about the Neon-commits mailing list