Update rules
This commit is contained in:
parent
937b4d5cb1
commit
25a01246c9
6
debian/rules
vendored
6
debian/rules
vendored
@ -65,16 +65,16 @@ srcdir = $(shell debian/scripts/get_pwd.sh)
|
|||||||
|
|
||||||
## overriding dh_auto_configure to add custom configs:
|
## overriding dh_auto_configure to add custom configs:
|
||||||
override_dh_auto_configure:
|
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:
|
override_dh_build:
|
||||||
cmake --build ./build --config Release
|
cmake --build --config Release
|
||||||
|
|
||||||
## overriding dh_install to install files to a package:
|
## overriding dh_install to install files to a package:
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
DESTDIR=$(pkgdir) cmake --install build
|
DESTDIR=$(pkgdir) cmake --install
|
||||||
## === End end of region ===
|
## === End end of region ===
|
||||||
|
|
||||||
## This here will start the build:
|
## This here will start the build:
|
||||||
|
Loading…
Reference in New Issue
Block a user