]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: move and gather find_program()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 4 Jan 2021 11:47:00 +0000 (20:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Jan 2021 22:06:32 +0000 (07:06 +0900)
meson.build

index 70dc7bd104b09858f027b270514493fdd1c93c1c..c018cd60f8244ff9f92cbed0c8f8c578f2ee140a 100644 (file)
@@ -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')