X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile;h=493cd08450cd5a6b8333fad64e9d39b9e035380a;hp=fabb81b2c37408e1ba010abe9e4598ffff4621fe;hb=d3069ca3b71160cd7e89b3ff9d411ce2d7971610;hpb=9f53b06a8da90b88c02f943502ea3cfdf8801087 diff --git a/Makefile b/Makefile index fabb81b2c..493cd0845 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -# Makefile for diethotplug +# Makefile for udev # -# Copyright (C) 2000,2001 Greg Kroah-Hartman +# Copyright (C) 2003 Greg Kroah-Hartman # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -171,7 +171,7 @@ clean: $(MAKE) -C libsysfs clean $(MAKE) -C tdb clean -DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v ".tdb" | sort ) +DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v "\.tdb" | sort ) DISTDIR := $(RELEASE_NAME) srcdir = . release: $(DISTFILES) clean @@ -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) + +