summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
blob: 4d86094a29d3e6395630660c20c19fca5b9fae54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 
#  $Id$
#

bin_SCRIPTS = bluepin

EXTRA_DIST  = bluepin bluetooth.rc.rh bluetooth.rc.deb

install-data-local: @DISTRO@

unknown:
	-echo Unknown distribution 

redhat:
	$(mkinstalldirs) $(DESTDIR)/etc/rc.d/init.d
	$(INSTALL) -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)/etc/rc.d/init.d/bluetooth

debian:
	$(mkinstalldirs) $(DESTDIR)/etc/init.d
	$(INSTALL) -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)/etc/init.d/bluetooth