build: Fix install of udev rules in VPATH builds

When the build directory is different than the source directory, we
need to specify the source prefix to the original file we are
copying.
This commit is contained in:
Inaky Perez-Gonzalez 2010-05-26 12:49:25 -07:00 committed by Denis Kenzior
parent 2b891029ac
commit cce6bb2674
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ src/ofono.ver: src/ofono.exp
$(AM_V_at)echo "local: *; };" >> $@
plugins/%.rules:
$(AM_V_GEN)cp $(subst 97-,,$@) $@
$(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
$(src_ofonod_OBJECTS) $(unit_objects): $(local_headers)