From: greg@kroah.com Date: Fri, 17 Oct 2003 07:19:04 +0000 (-0700) Subject: [PATCH] added uninstall support X-Git-Tag: 003~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6785820d3889863e4c34428d582726b0572a261a;p=systemd [PATCH] added uninstall support --- diff --git a/Makefile b/Makefile index fabb81b2..5523a486 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) + +