[PATCH xorg-gtest v2 2/9] Install xorg-gtest source code in $(prefix)/src/xorg-gtest

Chase Douglas chase.douglas at canonical.com
Tue Mar 13 11:47:39 PDT 2012


Google Test suggests that source code be built into each test rather
than use a pre-compiled library. This change follows their lead and
installs the xorg-gtest source code.

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
 src/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 772e257..c675bab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -58,4 +58,7 @@ libxorg_gtest_la_SOURCES += device.cpp
 libxorg_gtest_la_LIBADD = $(EVEMU_LIBS)
 endif
 
+srcinstalldir = $(prefix)/src/xorg-gtest/src
+dist_srcinstall_DATA = $(libxorg_gtest_la_SOURCES) $(libxorg_gtest_main_la_SOURCES)
+
 EXTRA_DIST = libxorg-gtest.ver libxorg-gtest_main.ver
-- 
1.7.9.1



More information about the xorg-devel mailing list