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 21:15:02 +02:00
|
|
|
override_dh_auto_configure:
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -B build
|
|
|
|
cmake --build build --config Release --target all
|
2023-10-19 20:45:50 +02:00
|
|
|
|
2023-10-19 20:38:04 +02:00
|
|
|
override_dh_install:
|
2024-07-01 21:53:31 +02:00
|
|
|
DESTDIR=debian/tmp cmake --install build
|
|
|
|
dh_install
|
2024-07-01 22:10:03 +02:00
|
|
|
rm -rfv debian/libhyprlang/usr/lib/*/pkgconfig/hyprutils.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 $@
|