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 -2
View File
@@ -1,7 +1,7 @@
EXTRA_DIST = openssl.conf
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_CFG_PATH=\"${sysconfdir}/${sysconfsubdir}\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
@@ -15,7 +15,7 @@ xrdp_keygen_SOURCES = keygen.c
xrdp_keygen_LDADD = \
$(top_builddir)/common/libcommon.la
xrdpsysconfdir = $(sysconfdir)/xrdp
xrdpsysconfdir = $(sysconfdir)/$(sysconfsubdir)
install-data-hook:
umask 077 && \