hyprlang/debian/rules

20 lines
555 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 21:29:30 +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:29:30 +02:00
DESTDIR=debian/tmp cmake --install build
2024-07-01 21:54:07 +02:00
dh_install
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 $@