From f36bec18c361ee88269ad5e43c95b148b59fd7d8 Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 27 Oct 2024 14:33:15 +0100 Subject: [PATCH] Update debian/rules --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/rules b/debian/rules index 64a084a..e4a172e 100755 --- a/debian/rules +++ b/debian/rules @@ -62,6 +62,15 @@ export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch) ## === End end of region === +## overriding dh_auto_configure to add custom configs: +override_dh_auto_configure: + cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build + cmake --build ./build --config Release --target hyprlock -j32 + +override_dh_install: + DESTDIR=debian/tmp cmake --install build + dh_install + ## This here will start the build: %: dh $@