diff options
author | Daniel Elstner <danielk@openismus.com> | 2009-10-07 12:16:40 +0200 |
---|---|---|
committer | Daniel Elstner <danielk@openismus.com> | 2009-10-07 12:16:40 +0200 |
commit | 1eaaa1dbc88aa629d8eb70fd82fe1ba55ed34495 (patch) | |
tree | fb13e67841225e173edd6468254c771045acb855 /build/generate-binding.am | |
parent | d0f97a1e04c92d23a75f02218c899ef72ef34eb8 (diff) | |
download | mm-common-1eaaa1dbc88aa629d8eb70fd82fe1ba55ed34495.tar.gz |
Properly handle shallow source directory layouts
* build/generate-binding.am (binding_outputdir): Avoid a superfluous
./ component in the concatenated path if the parent directory is the
top-level directory of the source tree.
Diffstat (limited to 'build/generate-binding.am')
-rw-r--r-- | build/generate-binding.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/generate-binding.am b/build/generate-binding.am index 7703c28..80025de 100644 --- a/build/generate-binding.am +++ b/build/generate-binding.am @@ -29,7 +29,7 @@ codegen_srcdir ?= $(top_srcdir)/codegen codegen_m4_srcdir ?= $(codegen_srcdir)/m4 # Destination directory of the generated source files. -binding_outputdir ?= $(if $(srcdir:.=),$(top_srcdir)/$(dir $(subdir)),../)$(binding_name) +binding_outputdir ?= $(if $(srcdir:.=),$(dir $(top_srcdir)/$(subdir)),../)$(binding_name) # Additional built sources not generated by gmmproc. other_built_sources = $(binding_outputdir)/wrap_init.cc |