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:
@@ -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,2 +1,2 @@
|
||||
pulsedir = $(sysconfdir)/xrdp/pulse
|
||||
pulsedir = $(sysconfdir)/$(sysconfsubdir)/pulse
|
||||
dist_pulse_DATA = default.pa
|
||||
|
||||
Reference in New Issue
Block a user