diff options
author | David Robillard <d@drobilla.net> | 2023-03-31 13:54:20 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 0e9169e24fcfc4599a62f85991f407f257fec520 (patch) | |
tree | 0e79c49c6fc29c824a4f1fa72749f25c100ad390 /tools | |
parent | 91c0c68e153118f4d64c137d78882ee95830c307 (diff) | |
download | serd-0e9169e24fcfc4599a62f85991f407f257fec520.tar.gz serd-0e9169e24fcfc4599a62f85991f407f257fec520.tar.bz2 serd-0e9169e24fcfc4599a62f85991f407f257fec520.zip |
Rename serdi to serd-pipe
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 13 | ||||
-rw-r--r-- | tools/serd-pipe.c (renamed from tools/serdi.c) | 6 |
2 files changed, 8 insertions, 11 deletions
diff --git a/tools/meson.build b/tools/meson.build index 49fa32c7..ce82b212 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -1,4 +1,4 @@ -# Copyright 2021-2022 David Robillard <d@drobilla.net> +# Copyright 2021-2023 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC tool_c_args = c_suppressions + platform_c_args @@ -8,16 +8,13 @@ if get_option('static') and cc.get_id() != 'msvc' tool_link_args += ['-static'] endif -serdi = executable( - 'serdi', - files( - 'console.c', - 'serdi.c', - ), +serd_pipe = executable( + 'serd-pipe', + files('console.c', 'serd-pipe.c'), c_args: tool_c_args, dependencies: [serd_dep, zix_dep], install: true, link_args: tool_link_args, ) -meson.override_find_program('serdi', serdi) +meson.override_find_program('serd-pipe', serd_pipe) diff --git a/tools/serdi.c b/tools/serd-pipe.c index fd7fdb15..26a4a26a 100644 --- a/tools/serdi.c +++ b/tools/serd-pipe.c @@ -22,8 +22,8 @@ #include <stdlib.h> #include <string.h> -#define SERDI_ERROR(msg) fprintf(stderr, "serdi: " msg) -#define SERDI_ERRORF(fmt, ...) fprintf(stderr, "serdi: " fmt, __VA_ARGS__) +#define SERDI_ERROR(msg) fprintf(stderr, "serd-pipe: " msg) +#define SERDI_ERRORF(fmt, ...) fprintf(stderr, "serd-pipe: " fmt, __VA_ARGS__) #define MAX_DEPTH 128U @@ -282,7 +282,7 @@ main(int argc, char** argv) serd_world_free(world); if (fclose(stdout)) { - perror("serdi: write error"); + perror("serd-pipe: write error"); st = SERD_BAD_STREAM; } |