summaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
blob: 8c6e56d2a21d540d20adb86f00e2b13013aa9e0d (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 create_dev

install-data-local: @DISTRO@

unknown:
	-echo Unknown distribution 

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

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