build: Fix installing udev rules file when $(srcdir) != $(builddir)

Path to files on source tree should be prefixed with $(srcdir),
otherwise they are not found if $(srcdir) != $(builddir).
This commit is contained in:
Anderson Lizardo 2012-12-21 12:25:03 -04:00 committed by Johan Hedberg
parent ec25822178
commit b75058fd36

View File

@ -280,7 +280,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
tools/%.rules:
$(AM_V_GEN)cp $(subst 97-,,$@) $@
$(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
$(lib_libbluetooth_la_OBJECTS): $(local_headers)