summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-21 15:40:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-21 15:40:55 +0000
commit44dd3537501540b967bb368c16279242c4bb5f14 (patch)
tree60a9c6a7236e68455ff0a79482dba5d25b882d25
parent4a754e79fdb1c5f428e47569c0b1efda9a653ff6 (diff)
Uninstall local files
-rw-r--r--hcid/Makefile.am4
-rw-r--r--pcmcia/Makefile.am4
-rw-r--r--scripts/Makefile.am4
3 files changed, 12 insertions, 0 deletions
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