Allow to change config file (sub)directory

This allows the `xrdp` part of the path `/etc/xrdp` where config files
are placed to be customizable. This change is useful when trying the
stable version and the devel version alternately.
This commit is contained in:
Koichiro Iwao
2024-12-27 10:34:16 +09:00
parent 54a6bf11d7
commit 75736f4853
28 changed files with 43 additions and 33 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ CLEANFILES= \
SUBST_VARS = sed \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@sysconfsubdir[@]|$(sysconfsubdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g'
subst_verbose = $(subst_verbose_@AM_V@)
@@ -26,7 +27,7 @@ SUFFIXES = .in
#
# files for all platforms
#
startscriptdir=$(sysconfdir)/xrdp
startscriptdir=$(sysconfdir)/$(sysconfsubdir)
dist_startscript_DATA = \
km-00000406.toml \
+1 -1
View File
@@ -1,2 +1,2 @@
pulsedir = $(sysconfdir)/xrdp/pulse
pulsedir = $(sysconfdir)/$(sysconfsubdir)/pulse
dist_pulse_DATA = default.pa