hyprwayland-scanner/debian/rules

21 lines
621 B
Plaintext
Raw Normal View History

2023-06-10 21:49:37 +02:00
#! /usr/bin/make -f
2023-10-19 20:38:04 +02:00
## See debhelper(7) (uncomment to enable).
## Output every command that modifies files on the build system.
2023-06-10 21:49:37 +02:00
export DH_VERBOSE = 1
2023-10-19 20:38:04 +02:00
## overriding dh_auto_configure to add custom configs:
2024-07-01 19:44:53 +02:00
override_dh_auto_configure:
2024-07-01 20:16:44 +02:00
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -B build
2024-07-01 20:39:40 +02:00
cmake --build build --config Release
2023-10-19 20:38:04 +02:00
override_dh_install:
2024-07-01 21:34:13 +02:00
DESTDIR=debian/tmp cmake --install build
dh_install
2024-07-01 22:06:34 +02:00
rm -rfv debian/hyprwayland-scanner/usr/lib/*/pkgconfig/hyprwayland-scanner.pc
2023-10-19 20:38:04 +02:00
## === End end of region ===
## This here will start the build:
2023-06-10 21:49:37 +02:00
%:
2023-10-19 20:38:04 +02:00
dh $@