summaryrefslogtreecommitdiffstats
path: root/sesman/Makefile.am
diff options
context:
space:
mode:
authorVraiment <jemc44@gmail.com>2018-02-08 10:30:00 -0800
committermetalefty <meta@vmeta.jp>2018-02-19 11:41:55 +0900
commitfd37805ac073170b88557aeec138e694a781d661 (patch)
treec3926d22b9913a5c7478c68a2d1dbeb7525dabcf /sesman/Makefile.am
parent9ed5243de9c8cb511a38b2ee09c3f8be76c40065 (diff)
downloadxrdp-proprietary-fd37805ac073170b88557aeec138e694a781d661.tar.gz
xrdp-proprietary-fd37805ac073170b88557aeec138e694a781d661.zip
Make sesman.ini dynamic for the location of the configuration file
Diffstat (limited to 'sesman/Makefile.am')
-rw-r--r--sesman/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/sesman/Makefile.am b/sesman/Makefile.am
index 193a7cce..50425e63 100644
--- a/sesman/Makefile.am
+++ b/sesman/Makefile.am
@@ -75,6 +75,17 @@ xrdp_sesman_LDADD = \
sesmansysconfdir=$(sysconfdir)/xrdp
+SUBST_VARS = sed \
+ -e 's|@sesmansysconfdir[@]|$(sesmansysconfdir)|g'
+
+subst_verbose = $(subst_verbose_@AM_V@)
+subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@)
+subst_verbose_0 = @echo " SUBST $@";
+
+SUFFIXES = .in
+.in:
+ $(subst_verbose)$(SUBST_VARS) $< > $@
+
dist_sesmansysconf_DATA = \
sesman.ini