summaryrefslogtreecommitdiff
path: root/tools/tools-common.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-23 09:37:15 +1000
committerRan Benita <ran@unusedvar.com>2020-07-25 11:05:14 +0300
commitcd119a2824910cdc82a0186d90f105f48e1539d5 (patch)
treeb439fe9d9e58dabdbe05010ed70eb1d420c118cf /tools/tools-common.c
parent31b38c31379ba9cbb2f4cece44b8cd2a37d0db95 (diff)
downloadxorg-lib-libxkbcommon-cd119a2824910cdc82a0186d90f105f48e1539d5.tar.gz
Drop use of ronn, switch to raw roff instead
Drop the ronn source files, check in the generated files instead. This gets rid of the ruby+gem+ronn toolchain requirement at the cost of having to edit raw man pages. ronn files are as-generated but with the preamble and generation date removed. The latter isn't important enough to keep, it'll just go stale for manually maintained files and it's not worth setting up a configure_file() just for that date. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/tools-common.c')
-rw-r--r--tools/tools-common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/tools-common.c b/tools/tools-common.c
index a78bc9a..db17880 100644
--- a/tools/tools-common.c
+++ b/tools/tools-common.c
@@ -219,15 +219,9 @@ tools_exec_command(const char *prefix, int real_argc, char **real_argv)
}
command = real_argv[0];
-#ifdef _MSC_VER
-#define PATH_SEP '\\'
-#else
-#define PATH_SEP '/'
-#endif
if (!snprintf_safe(executable, sizeof(executable),
- "%s%c%s-%s", LIBXKBCOMMON_TOOL_PATH, PATH_SEP,
- prefix, command)) {
+ "%s/%s-%s", LIBXKBCOMMON_TOOL_PATH, prefix, command)) {
fprintf(stderr, "Failed to assemble command\n");
return EXIT_FAILURE;
}