summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-03-01 22:23:35 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:34:28 -0700
commitf070df164c95f825ba0217a71b2d475fd4a8a29e (patch)
treefd93290071d5ba64cbee15ece2cc8cd44530af2c
parentc58e36c092ad5acc84d35e455ecc74096b25ae66 (diff)
[PATCH] udev - kill udevd on install
We want to kill udevd after installing a new version, cause the event contains a magic with the version number of udev.
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9f7c439974..739b9c1351 100644
--- a/Makefile
+++ b/Makefile
@@ -373,10 +373,12 @@ install: install-config install-dbus-policy all
$(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8
$(INSTALL_DATA) -D udevinfo.8 $(DESTDIR)$(mandir)/man8/udevinfo.8
$(INSTALL_DATA) -D udevd.8 $(DESTDIR)$(mandir)/man8/udevd.8
- - ln -f -s ./udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
- - rm -f $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
- - rm -f $(DESTDIR)$(udevdir)/.udev.tdb
+ - ln -f -s udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
- ln -f -s $(sbindir)/$(SENDER) $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
+ifndef DESTDIR
+ - killall udevd
+ - rm -f $(udevdir)/.udev.tdb
+endif
@extras="$(EXTRAS)" ; for target in $$extras ; do \
echo $$target ; \
$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \