File: Makefile.am

package info (click to toggle)
boinc 8.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 106,832 kB
  • sloc: cpp: 167,537; php: 111,699; pascal: 56,262; ansic: 49,284; xml: 18,762; python: 7,938; javascript: 6,538; sh: 5,719; makefile: 2,183; java: 2,041; objc: 1,867; perl: 1,843; sql: 830; lisp: 47; csh: 30
file content (24 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## -*- mode: makefile; tab-width: 4 -*-

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

clean:
	rm -f boinc-client.service
	rm -f boinc-client