Update rules

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-07-01 21:05:44 +03:00 committed by GitHub
parent f8eed7707c
commit 45e14fb5ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
debian/rules vendored
View File

@ -65,7 +65,8 @@ srcdir = $(shell debian/scripts/get_pwd.sh)
## overriding dh_auto_configure to add custom configs:
override_dh_auto_configure:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -S hyprwayland-scanner -B ./build
mkdir -p ./build && cd ./build
cmake .. --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
override_dh_build:
cmake --build ./build --config Release