summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-12 12:47:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-12 12:47:37 +0000
commitda2cf82c5b073be1bc3f3185a16722a2f5d289de (patch)
tree55f6cb996940133e8c4808e0d912e34dece383df /scripts
parent5bec11bb84e13e200a38798271a7da8924c3f6f7 (diff)
downloadbluez-da2cf82c5b073be1bc3f3185a16722a2f5d289de.tar.gz
Make the installation of the init scripts and bluepin optional
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 741ae080d..e77f3f123 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -2,12 +2,15 @@
# $Id$
#
+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
@@ -17,3 +20,4 @@ install-data-local:
uninstall-local:
@rm -f $(DESTDIR)$(sysconfdir)/init.d/bluetooth
@rm -f $(DESTDIR)$(sysconfdir)/default/bluetooth
+endif