]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
open-vm-tools: use $(srcdir) in Makefile.am for udev rule
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:54 +0000 (11:22 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:54 +0000 (11:22 -0700)
Building in a separate directory was broken for installing the
udev rule. We need to use $(srcdir) in Makefile.am, otherwise
'make install' will fail.

open-vm-tools/udev/Makefile.am

index f74d8dc9f692760abd88e5fa01086c2bb1f9bda3..68fbc3e273afe42daa7e6ef548d7346e3050dc68 100644 (file)
@@ -17,5 +17,5 @@
 
 install-data-local:
        $(INSTALL) -d $(DESTDIR)$(UDEVRULESDIR)
-       $(INSTALL) 99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)
+       $(INSTALL) $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)