From fdc38359247829a4664e539fd3cbba41067cb694 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Fri, 10 Sep 2010 17:26:28 +0200
Subject: Do not distribute generated test-odb.cxx

---
 common/template/Makefile.am | 3 ++-
 mysql/template/Makefile.am  | 3 ++-
 tracer/template/Makefile.am | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/common/template/Makefile.am b/common/template/Makefile.am
index ca3a3d5..ccfe5f0 100644
--- a/common/template/Makefile.am
+++ b/common/template/Makefile.am
@@ -15,7 +15,8 @@ TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir;
 
 # ODB compilation.
 #
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
 BUILT_SOURCES = test-odb.hxx
 CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
 
diff --git a/mysql/template/Makefile.am b/mysql/template/Makefile.am
index 229e071..bfb3327 100644
--- a/mysql/template/Makefile.am
+++ b/mysql/template/Makefile.am
@@ -17,7 +17,8 @@ m4_ifelse(__value__(odb_options),,,
 
 # ODB compilation.
 #
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
 BUILT_SOURCES = test-odb.hxx
 CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
 
diff --git a/tracer/template/Makefile.am b/tracer/template/Makefile.am
index a3bed1e..6edccff 100644
--- a/tracer/template/Makefile.am
+++ b/tracer/template/Makefile.am
@@ -15,7 +15,8 @@ m4_ifelse(__value__(odb_options),,,
 
 # ODB compilation.
 #
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
 BUILT_SOURCES = test-odb.hxx
 CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
 
-- 
cgit v1.1