ec7d1b4c38
using sed -i when running make install
33 lines
661 B
Makefile
33 lines
661 B
Makefile
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 \
|
|
xrdp-sesman.service \
|
|
xrdp.service
|
|
|
|
SUBDIRS = \
|
|
pam.d \
|
|
init.d \
|
|
default
|
|
|
|
if HAVE_SYSTEMD
|
|
systemdsystemunit_DATA = \
|
|
xrdp-sesman.service \
|
|
xrdp.service
|
|
endif
|
|
|
|
startscriptdir=$(sysconfdir)/xrdp
|
|
|
|
startscript_DATA = \
|
|
xrdp.sh \
|
|
km-0407.ini \
|
|
km-0409.ini \
|
|
km-040c.ini \
|
|
km-0410.ini \
|
|
km-0419.ini \
|
|
km-041d.ini \
|
|
km-0816.ini
|
|
|
|
# must be tab below
|
|
install-data-hook:
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/init.d/xrdp
|
|
sed -i 's|__BASE__|$(prefix)|' $(sysconfdir)/init.d/xrdp;
|