blob: 55da71801ee25873f290856fa0380c63bd7e63c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
rulesdir = $(sysconfdir)/udev
rules_DATA = bluetooth.rules
udevdir = $(libexecdir)/udev
udev_SCRIPTS = bluetooth_serial
EXTRA_DIST = $(rules_DATA) $(udev_SCRIPTS) bluetooth.init bluetooth.default
MAINTAINERCLEANFILES = Makefile.in
if INITSCRIPTS
install-data-local:
$(INSTALL) -D -m 755 $(srcdir)/bluetooth.init $(DESTDIR)$(sysconfdir)/init.d/bluetooth
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/default
[ -f $(DESTDIR)$(sysconfdir)/default/bluetooth ] || \
$(INSTALL_DATA) $(srcdir)/bluetooth.default $(DESTDIR)$(sysconfdir)/default/bluetooth
uninstall-local:
@rm -f $(DESTDIR)$(sysconfdir)/init.d/bluetooth
@rm -f $(DESTDIR)$(sysconfdir)/default/bluetooth
endif
|