[mm-common] Properly handle shallow source directory layouts



commit 1eaaa1dbc88aa629d8eb70fd82fe1ba55ed34495
Author: Daniel Elstner <danielk openismus com>
Date:   Wed Oct 7 12:16:40 2009 +0200

    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.

 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]