dynamically insert prefix path into init script

using sed -i when running make install
This commit is contained in:
cocoon 2013-07-05 21:55:14 +02:00
parent 0713295921
commit ec7d1b4c38
1 changed files with 1 additions and 0 deletions

View File

@ -29,3 +29,4 @@ startscript_DATA = \
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;