hyprlang/debian/rules

21 lines
615 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
2024-07-01 22:03:58 +02:00
rm -rfv debian/libhyprlang/usr/lib/*/pkgconfig/hyprlang.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 $@