summaryrefslogtreecommitdiffstats
path: root/sesman/Makefile.am
diff options
context:
space:
mode:
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