Merge pull request #3368 from metalefty/sysconfsubdir

Allow to change config file (sub)directory
This commit is contained in:
metalefty
2024-12-29 11:00:16 +09:00
committed by GitHub
31 changed files with 47 additions and 36 deletions
+1
View File
@@ -3,6 +3,7 @@ EXTRA_DIST = \
readme.txt
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/${sysconfsubdir}\" \
-I$(top_srcdir)/common
AM_CFLAGS = $(X_CFLAGS)
+2 -2
View File
@@ -92,8 +92,8 @@ usage(const char *programname, int status)
{
fprintf(stderr, "Usage: %s [ -k keycode_set] [-c comment] [-c comment...]"
" out_filename\n", programname);
fprintf(stderr, "Example: %s -r evdev -c \"en-US pc104 keyboard\""
" /etc/xrdp/km-00000409.toml\n", programname);
fprintf(stderr, "Example: %s -r evdev -c \"en-US pc104 keyboard\" ", programname);
fprintf(stderr, XRDP_CFG_PATH "/km-00000409.toml\n");
exit(status);
}