From da2cf82c5b073be1bc3f3185a16722a2f5d289de Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 12 Aug 2004 12:47:37 +0000 Subject: Make the installation of the init scripts and bluepin optional --- scripts/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 741ae080..e77f3f12 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 -- cgit