meson: add install tags for udev and hwdb

Allows building and installing them individually, like
other existing components
This commit is contained in:
Luca Boccassi
2025-01-10 15:15:13 +09:00
committed by Yu Watanabe
parent 96403d5121
commit 8442ac9c02
7 changed files with 50 additions and 17 deletions
+3
View File
@@ -135,6 +135,9 @@ $CC --version
meson --version
ninja --version
# TODO: drop once minimum meson version is bumped to 0.62 or newer
find . -type f -name meson.build -exec sed -i 's/install_emptydir(\(.*\), install_tag : .*)/install_emptydir(\1)/g' '{}' '+'
for args in "${ARGS[@]}"; do
SECONDS=0
+2
View File
@@ -32,6 +32,8 @@ function info() {
}
function run_meson() {
# TODO: drop once minimum meson version is bumped to 0.62 or newer
find . -type f -name meson.build -exec sed -i 's/install_emptydir(\(.*\), install_tag : .*)/install_emptydir(\1)/g' '{}' '+'
if ! meson "$@"; then
find . -type f -name meson-log.txt -exec cat '{}' +
return 1