]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Use .txt as the extension for syscall list file
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Jan 2021 12:56:12 +0000 (13:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Jan 2021 08:55:35 +0000 (09:55 +0100)
Upstream uses .text, but this is rather unusual. Let's use .txt as the usual
suffix for text files. This tells various editors and such that the file should
be treated as plain text. I also want to a script to summarize license status,
and having an easy-to-recognize suffix makes this easier.

src/basic/meson.build
src/basic/syscall-list.txt [moved from src/basic/syscall-names.text with 100% similarity]
src/shared/meson.build
tools/syscall-table-update.sh

index c801251e3083c867d8cc535d768b5f584c1fa74e..8978e81600e64631c173416a24bf604dd955f3ae 100644 (file)
@@ -361,7 +361,7 @@ run_target(
         'update-syscall-tables',
         command : [syscall_table_update_sh, meson.current_source_dir()] + arch_list)
 
-syscall_names_text = files('syscall-names.text')
+syscall_list_txt = files('syscall-list.txt')
 
 syscall_lists = []
 foreach arch: arch_list
index 0f50522b6a552924f138e3f4fee073516c25a76e..f301a9f610d107d3be65ed1f1a1ca0c862b5fc5d 100644 (file)
@@ -292,7 +292,7 @@ generate_syscall_list = find_program('generate-syscall-list.py')
 fname = 'syscall-list.h'
 syscall_list_h = custom_target(
         fname,
-        input : syscall_names_text,
+        input : syscall_list_txt,
         output : fname,
         command : [generate_syscall_list,
                    '@INPUT@'],
index a6d7d14732c7211cea4d0a55cc4f37949dc5eef3..410b20c5d95be80e5c5c1ecf2b627bab16a2a450 100755 (executable)
@@ -4,7 +4,7 @@ set -eu
 
 cd "$1" && shift
 
-curl --fail -L -o syscall-names.text 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
+curl --fail -L -o syscall-list.txt 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
 
 for arch in "$@"; do
     curl --fail -L -o syscalls-$arch "https://raw.githubusercontent.com/hrw/syscalls-table/master/tables/syscalls-$arch"