chiark / gitweb /
Makefile: use udevdir in "make install"
authorErik van Konijnenburg <ekonijn@xs4all.nl>
Mon, 19 May 2008 07:07:20 +0000 (09:07 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 19 May 2008 07:07:20 +0000 (09:07 +0200)
Makefile

index 9543ca2..e4392ca 100644 (file)
--- 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; \