[PATCH] Makefile: use udevdir to install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 9543ca2..e4392ca 100644
--- a/Makefile
+++ b/Makefile
@@ -266,7 +266,7 @@ install-bin:
 	done;
 ifndef DESTDIR
 	- killall udevd
-	- rm -rf /dev/.udev
+	- rm -rf $(udevdir)/.udev
 	- $(sbindir)/udevd --daemon
 endif
 .PHONY: install-bin
@@ -278,7 +278,7 @@ uninstall-bin:
 	- rm -f $(DESTDIR)$(usrbindir)/udevinfo
 ifndef DESTDIR
 	- killall udevd
-	- rm -rf /dev/.udev
+	- rm -rf $(udevdir)/.udev
 endif
 	@extras="$(EXTRAS)"; for target in $$extras; do \
 		$(MAKE) -C $$target $@ || exit 1; \
-- 
1.5.5.1.g1fbb5

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux