xrdp/instfiles/Makefile.am

43 lines
852 B
Makefile
Raw Normal View History

2013-03-19 02:06:10 +04:00
EXTRA_DIST = xrdp.sh km-0407.ini km-0409.ini km-040c.ini km-0410.ini km-0419.ini km-041d.ini km-0816.ini \
2012-05-26 21:15:45 +04:00
xrdp-sesman.service \
xrdp.service
2008-08-17 11:17:58 +04:00
SUBDIRS = \
2013-03-19 02:06:10 +04:00
pam.d \
2014-05-20 11:50:41 +04:00
default \
pulse
2008-08-17 11:17:58 +04:00
2012-05-26 21:15:45 +04:00
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
xrdp-sesman.service \
xrdp.service
else
SUBDIRS+=
init.d
2012-05-26 21:15:45 +04:00
endif
2008-08-17 11:17:58 +04:00
startscriptdir=$(sysconfdir)/xrdp
startscript_DATA = \
2009-08-12 05:53:34 +04:00
xrdp.sh \
km-0407.ini \
km-0409.ini \
2009-10-09 12:03:15 +04:00
km-040c.ini \
km-0410.ini \
2014-12-01 10:32:18 +03:00
km-0411.ini \
2014-10-27 14:53:19 +03:00
km-0415.ini \
2009-10-09 12:03:15 +04:00
km-0419.ini \
2013-03-19 02:06:10 +04:00
km-041d.ini \
2014-12-01 10:32:18 +03:00
km-0816.ini \
km-e0010411.ini \
km-e0200411.ini \
km-e0210411.ini
2008-08-18 03:08:17 +04:00
# must be tab below
install-data-hook:
chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh
if [ -f $(DESTDIR)$(sysconfdir)/init.d/xrdp ]; then \
chmod 755 $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
sed -i 's|__BASE__|$(prefix)|' $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
fi