summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-03-08 09:38:05 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-03-16 15:23:11 -0700
commit7102f4115ed044a903c5071e6930630456778313 (patch)
treeb17731361c29a7c0d35a4b6a0affd3bd32746188
parentfcb1f66c5caec990d499bff94215057b221ea004 (diff)
Install xorg-gtest source code in $(prefix)/src/xorg-gtest
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@canonical.com> Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
-rw-r--r--src/Makefile.am3
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