diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-05-26 12:49:25 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-28 09:48:34 -0500 |
commit | cce6bb2674090ff53e7dda64b5dc70d5baf1476a (patch) | |
tree | 7c89e09dfcb93526eb77e4eb5315fa221c1bbf53 | |
parent | 2b891029ac3db39c5e370e33a616516a847f688f (diff) | |
download | ofono-cce6bb2674090ff53e7dda64b5dc70d5baf1476a.tar.bz2 |
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.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ed13346b..31c157c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) |