meson: add install tags for udev and hwdb
Allows building and installing them individually, like other existing components
This commit is contained in:
committed by
Yu Watanabe
parent
96403d5121
commit
8442ac9c02
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user