mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
Merge pull request #26651 from yuwata/meson-cleanups
Several meson cleanups
This commit is contained in:
commit
cfba58fe79
@ -218,7 +218,7 @@ configure_file(
|
||||
############################################################
|
||||
|
||||
update_dbus_docs = custom_target(
|
||||
'update-dbus-docs',
|
||||
'update-dbus-docs-impl',
|
||||
output : 'update-dbus-docs',
|
||||
command : [update_dbus_docs_py, '--build-dir', project_build_root, '@INPUT@'],
|
||||
input : dbus_docs)
|
||||
@ -232,7 +232,7 @@ if conf.get('BUILD_MODE_DEVELOPER') == 1
|
||||
endif
|
||||
|
||||
update_man_rules = custom_target(
|
||||
'update-man-rules',
|
||||
'update-man-rules-impl',
|
||||
output : 'update-man-rules',
|
||||
command : [update_man_rules_py,
|
||||
'@0@/man/*.xml'.format(project_source_root),
|
||||
|
@ -845,16 +845,19 @@ manpages = [
|
||||
'sd_session_get_remote_user',
|
||||
'sd_session_get_seat',
|
||||
'sd_session_get_service',
|
||||
'sd_session_get_start_time',
|
||||
'sd_session_get_state',
|
||||
'sd_session_get_tty',
|
||||
'sd_session_get_type',
|
||||
'sd_session_get_uid',
|
||||
'sd_session_get_username',
|
||||
'sd_session_get_vt',
|
||||
'sd_session_is_remote'],
|
||||
'HAVE_PAM'],
|
||||
['sd_uid_get_state',
|
||||
'3',
|
||||
['sd_uid_get_display',
|
||||
'sd_uid_get_login_time',
|
||||
'sd_uid_get_seats',
|
||||
'sd_uid_get_sessions',
|
||||
'sd_uid_is_on_seat'],
|
||||
|
@ -4608,6 +4608,8 @@ foreach tuple : [
|
||||
['debug mmap cache'],
|
||||
['debug siphash'],
|
||||
['trace logging', conf.get('LOG_TRACE') == 1],
|
||||
['slow tests', slow_tests],
|
||||
['fuzz tests', fuzz_tests],
|
||||
['install tests', install_tests],
|
||||
['link-udev-shared', get_option('link-udev-shared')],
|
||||
['link-systemctl-shared', get_option('link-systemctl-shared')],
|
||||
|
@ -10,7 +10,7 @@ CC="$5"
|
||||
CXX="$6"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
[ -f "$dst/ninja.build" ] || CC="$CC" CXX="$CXX" meson "$src" "$dst" $options
|
||||
[ -f "$dst/build.ninja" ] || CC="$CC" CXX="$CXX" meson setup "$src" "$dst" $options
|
||||
|
||||
# Locate ninja binary, on CentOS 7 it is called ninja-build, so
|
||||
# use that name if available.
|
||||
|
@ -73,7 +73,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! meson "$build" "-D$fuzzflag" -Db_lundef=false; then
|
||||
if ! meson setup "$build" "-D$fuzzflag" -Db_lundef=false; then
|
||||
cat "$build/meson-logs/meson-log.txt"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user