]> err.no Git - systemd/commitdiff
[PATCH] added uninstall support
authorgreg@kroah.com <greg@kroah.com>
Fri, 17 Oct 2003 07:19:04 +0000 (00:19 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:01:41 +0000 (21:01 -0700)
Makefile

index fabb81b2c37408e1ba010abe9e4598ffff4621fe..5523a48609e5ae26bd1d0655491118958f9cdf9a 100644 (file)
--- 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)
+
+