add_project_arguments('-include', 'config.h', language : 'c')
+generate_gperfs = find_program('tools/generate-gperfs.py')
+
subdir('po')
subdir('catalog')
subdir('src/systemd')
+++ /dev/null
-#!/usr/bin/env python3
-
-"""Generate %-from-name.gperf from %-list.txt
-"""
-
-import sys
-
-name, prefix, input = sys.argv[1:]
-
-print("""\
-%{
-#if __GNUC__ >= 7
-_Pragma("GCC diagnostic ignored \\"-Wimplicit-fallthrough\\"")
-#endif
-%}""")
-print("""\
-struct {}_name {{ const char* name; int id; }};
-%null-strings
-%%""".format(name))
-
-for line in open(input):
- print("{0}, {1}{0}".format(line.rstrip(), prefix))
missing_h = files('missing.h')
-generate_gperfs = find_program('generate-gperfs.py')
-
generate_af_list = find_program('generate-af-list.sh')
af_list_txt = custom_target(
'af-list.txt',
--- /dev/null
+#!/usr/bin/env python3
+
+"""Generate %-from-name.gperf from %-list.txt
+"""
+
+import sys
+
+name, prefix, input = sys.argv[1:]
+
+print("""\
+%{
+#if __GNUC__ >= 7
+_Pragma("GCC diagnostic ignored \\"-Wimplicit-fallthrough\\"")
+#endif
+%}""")
+print("""\
+struct {}_name {{ const char* name; int id; }};
+%null-strings
+%%""".format(name))
+
+for line in open(input):
+ print("{0}, {1}{0}".format(line.rstrip(), prefix))