mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
meson: move and gather find_program()
This commit is contained in:
parent
73e994f291
commit
f6fe732ff3
31
meson.build
31
meson.build
@ -1589,13 +1589,28 @@ else
|
||||
endif
|
||||
conf.set10('ENABLE_EFI', have)
|
||||
|
||||
############################################################
|
||||
|
||||
autosuspend_update_sh = find_program('tools/autosuspend-update.sh')
|
||||
hwdb_update_sh = find_program('tools/hwdb-update.sh')
|
||||
make_autosuspend_rules_py = find_program('tools/make-autosuspend-rules.py')
|
||||
make_directive_index_py = find_program('tools/make-directive-index.py')
|
||||
make_man_index_py = find_program('tools/make-man-index.py')
|
||||
syscall_table_update_sh = find_program('tools/syscall-table-update.sh')
|
||||
xml_helper_py = find_program('tools/xml_helper.py')
|
||||
update_dbus_docs_py = find_program('tools/update-dbus-docs.py')
|
||||
meson_apply_m4 = find_program('tools/meson-apply-m4.sh')
|
||||
generate_gperfs = find_program('tools/generate-gperfs.py')
|
||||
|
||||
#####################################################################
|
||||
|
||||
config_h = configure_file(
|
||||
output : 'config.h',
|
||||
configuration : conf)
|
||||
|
||||
meson_apply_m4 = find_program('tools/meson-apply-m4.sh')
|
||||
add_project_arguments('-include', 'config.h', language : 'c')
|
||||
|
||||
############################################################
|
||||
|
||||
includes = include_directories('src/basic',
|
||||
'src/boot',
|
||||
@ -1624,20 +1639,6 @@ includes = include_directories('src/basic',
|
||||
'src/xdg-autostart-generator',
|
||||
'.')
|
||||
|
||||
add_project_arguments('-include', 'config.h', language : 'c')
|
||||
|
||||
generate_gperfs = find_program('tools/generate-gperfs.py')
|
||||
autosuspend_update_sh = find_program('tools/autosuspend-update.sh')
|
||||
hwdb_update_sh = find_program('tools/hwdb-update.sh')
|
||||
make_autosuspend_rules_py = find_program('tools/make-autosuspend-rules.py')
|
||||
make_directive_index_py = find_program('tools/make-directive-index.py')
|
||||
make_man_index_py = find_program('tools/make-man-index.py')
|
||||
syscall_table_update_sh = find_program('tools/syscall-table-update.sh')
|
||||
xml_helper_py = find_program('tools/xml_helper.py')
|
||||
update_dbus_docs_py = find_program('tools/update-dbus-docs.py')
|
||||
|
||||
############################################################
|
||||
|
||||
subdir('po')
|
||||
subdir('catalog')
|
||||
subdir('src/libudev')
|
||||
|
Loading…
Reference in New Issue
Block a user