chkpriv: respect $sysconfdir for config files directory

While here, ignore build artifacts of chkpriv tools.

Follow-up to:   #2974
This commit is contained in:
Koichiro Iwao
2024-07-12 11:08:48 +09:00
parent 19c111c74c
commit c2b8cbf19e
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ xrdp_droppriv_LDADD = \
$(top_builddir)/common/libcommon.la
SUBST_VARS = sed \
-e 's|@pkglibexecdir[@]|$(pkglibexecdir)|g'
-e 's|@pkglibexecdir[@]|$(pkglibexecdir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
subst_verbose = $(subst_verbose_@AM_V@)
subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@)
+1 -1
View File
@@ -20,7 +20,7 @@
# mode
# Change these if they do not match your installation
CONF_DIR=/etc/xrdp
CONF_DIR=@sysconfdir@/xrdp
XRDP_INI="$CONF_DIR"/xrdp.ini
SESMAN_INI="$CONF_DIR"/sesman.ini
RSAKEYS_INI="$CONF_DIR"/rsakeys.ini