diff --git a/sesman/Makefile.am b/sesman/Makefile.am index 7b34470c..8d9d3102 100644 --- a/sesman/Makefile.am +++ b/sesman/Makefile.am @@ -27,6 +27,7 @@ xrdp_sesman_SOURCES = \ scp_process.h \ sesman.c \ sesman.h \ + sesman.ini.in \ sesexec_control.c \ sesexec_control.h \ session_list.c \ @@ -52,7 +53,7 @@ SUFFIXES = .in .in: $(subst_verbose)$(SUBST_VARS) $< > $@ -dist_sesmansysconf_DATA = \ +nodist_sesmansysconf_DATA = \ sesman.ini dist_sesmansysconf_SCRIPTS = \ @@ -64,3 +65,5 @@ SUBDIRS = \ sesexec \ tools \ chansrv + +CLEANFILES = $(nodist_sesmansysconf_DATA) diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am index 71315ffb..fb49e8e3 100644 --- a/xrdp/Makefile.am +++ b/xrdp/Makefile.am @@ -53,6 +53,7 @@ xrdp_SOURCES = \ lang.c \ xrdp.c \ xrdp.h \ + xrdp.ini.in \ xrdp_bitmap.c \ xrdp_bitmap_load.c \ xrdp_bitmap_common.c \ @@ -102,9 +103,11 @@ SUFFIXES = .in $(subst_verbose)$(SUBST_VARS) $< > $@ dist_xrdpsysconf_DATA = \ - xrdp.ini \ xrdp_keyboard.ini +nodist_xrdpsysconf_DATA = \ + xrdp.ini + xrdppkgdatadir=$(datadir)/xrdp dist_xrdppkgdata_DATA = \ @@ -119,3 +122,5 @@ dist_xrdppkgdata_DATA = \ sans-18.fv1 \ cursor0.cur \ cursor1.cur + +CLEANFILES = $(nodist_xrdpsysconf_DATA)