From c1cb3a2ac7efacd9003d05e3209f523e3606da5c Mon Sep 17 00:00:00 2001 From: "alan (NyxTrail)" Date: Mon, 18 Mar 2024 18:48:41 +0000 Subject: [PATCH] Simplify debian/rules - Remove un-needed targets - Skip dh_auto_test The tests succeed only if a valid hyprland cursor theme is installed. --- debian/rules | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/debian/rules b/debian/rules index e36cfee..297f8a9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,4 @@ #!/usr/bin/make -f -# You must remove unused comment lines for the released package. #export DH_VERBOSE = 1 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic @@ -8,16 +7,5 @@ %: dh $@ -override_dh_auto_configure: - cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build - -override_dh_auto_build: - cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - -override_dh_auto_clean: - rm -rf build/ - dh_clean - -#override_dh_auto_configure: -# dh_auto_configure -- \ -# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" +override_dh_auto_test: + :