From 44dd3537501540b967bb368c16279242c4bb5f14 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 21 Jul 2004 15:40:55 +0000 Subject: Uninstall local files --- hcid/Makefile.am | 4 ++++ pcmcia/Makefile.am | 4 ++++ scripts/Makefile.am | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/hcid/Makefile.am b/hcid/Makefile.am index d8524400..5201855d 100644 --- a/hcid/Makefile.am +++ b/hcid/Makefile.am @@ -45,3 +45,7 @@ install-data-local: [ -f $(DESTDIR)$(pin_FILE) ] || \ echo "BlueZ" > $(DESTDIR)$(pin_FILE); \ chmod 600 $(DESTDIR)$(pin_FILE) + +uninstall-local: + @rm -f $(DESTDIR)$(conf_FILE) + @rm -f $(DESTDIR)$(pin_FILE) diff --git a/pcmcia/Makefile.am b/pcmcia/Makefile.am index 02999616..f46cdf04 100644 --- a/pcmcia/Makefile.am +++ b/pcmcia/Makefile.am @@ -14,3 +14,7 @@ install-data-local: $(INSTALL_DATA) $(srcdir)/bluetooth $(DESTDIR)$(pcmciadir) [ -f $(DESTDIR)$(pcmciadir)/bluetooth.conf ] || \ $(INSTALL_DATA) $(srcdir)/bluetooth.conf $(DESTDIR)$(pcmciadir) + +uninstall-local: + @rm -f $(DESTDIR)$(pcmciadir)/bluetooth + @rm -f $(DESTDIR)$(pcmciadir)/bluetooth.conf diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 677e1306..741ae080 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -13,3 +13,7 @@ install-data-local: $(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 -- cgit