Update rules

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-07-01 20:59:40 +03:00 committed by GitHub
parent 937b4d5cb1
commit 25a01246c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
debian/rules vendored
View File

@ -65,16 +65,16 @@ 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 . -B ./build
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
override_dh_build:
cmake --build ./build --config Release
cmake --build --config Release
## overriding dh_install to install files to a package:
override_dh_auto_install:
override_dh_install:
DESTDIR=$(pkgdir) cmake --install build
DESTDIR=$(pkgdir) cmake --install
## === End end of region ===
## This here will start the build: