[mm-common] Shorten relative path to source output directory
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mm-common] Shorten relative path to source output directory
- Date: Tue, 6 Oct 2009 22:08:28 +0000 (UTC)
commit d0f97a1e04c92d23a75f02218c899ef72ef34eb8
Author: Daniel Elstner <daniel kitta gmail com>
Date: Wed Oct 7 00:07:25 2009 +0200
Shorten relative path to source output directory
* build/generate-binding.am (binding_outputdir): Assign a simplified
relative path if a separate build directory is not used.
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 68839c1..7703c28 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 ?= $(top_srcdir)/$(dir $(subdir))$(binding_name)
+binding_outputdir ?= $(if $(srcdir:.=),$(top_srcdir)/$(dir $(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]