summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-17 00:19:04 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:41 -0700
commit6785820d3889863e4c34428d582726b0572a261a (patch)
treed639367d75cac2ab2f44c6149a7666ad04cc2907 /Makefile
parent9f53b06a8da90b88c02f943502ea3cfdf8801087 (diff)
[PATCH] added uninstall support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fabb81b2c3..5523a48609 100644
--- a/Makefile
+++ b/Makefile
@@ -200,3 +200,15 @@ install: all
$(INSTALL_DATA) namedev.config $(configdir)
$(INSTALL_DATA) namedev.permissions $(configdir)
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
+
+uninstall:
+ - rm $(hotplugdir)/udev.hotplug
+ - rm $(configdir)/namedev.permissions
+ - rm $(configdir)/namedev.config
+ - rm $(mandir)/man8/udev.8
+ - rm $(sbindir)/$(ROOT)
+ - rmdir $(hotplugdir)
+ - rmdir $(configdir)
+ - rmdir $(udevdir)
+
+