File: Makefile.am

package info (click to toggle)
bluez-utils 2.15-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,748 kB
  • ctags: 1,827
  • sloc: ansic: 14,952; sh: 912; yacc: 359; lex: 270; makefile: 168; python: 114
file content (23 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 
#  $Id: Makefile.am,v 1.11 2004/08/12 12:47:48 holtmann Exp $
#

if BLUEPIN
bin_SCRIPTS = bluepin
endif

EXTRA_DIST = bluepin bluetooth.init bluetooth.default create_dev

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