]> err.no Git - systemd/commitdiff
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 9543ca2cc960db9ff7fe598928d3aeeeffa17cdc..e4392ca09a96a0c46b7c034f194e6ae360eeeb5c 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; \