boinc/client/scripts/Makefile.am

17 lines
567 B
Makefile

install-exec-hook:
chmod +x boinc-client
$(INSTALL) -d $(DESTDIR)/etc/init.d
$(INSTALL) -b boinc-client $(DESTDIR)/etc/init.d/boinc-client
if [ -d /etc/sysconfig ] ; then \
$(INSTALL) -d $(DESTDIR)/etc/sysconfig ; \
$(INSTALL) boinc-client.conf $(DESTDIR)/etc/sysconfig/boinc-client ; \
elif [ -d /etc/default ] ; then \
$(INSTALL) -d $(DESTDIR)/etc/default ; \
$(INSTALL) boinc-client.conf $(DESTDIR)/etc/default/boinc-client ; \
else \
$(INSTALL) -d $(DESTDIR)/etc ; \
$(INSTALL) boinc-client.conf $(DESTDIR)/etc/boinc-client.conf ; \
fi