summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2011-04-07 07:08:02 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2011-04-07 07:08:02 +0000
commit9777673650126252f9de8447e0ea4f4e451d1ce4 (patch)
tree77e924b27a3508a2de304c27a769a69b4b467407
parent2d37c7a2bea2f230178ef1836785ca4d10e89b06 (diff)
downloadgoogletest-9777673650126252f9de8447e0ea4f4e451d1ce4.tar.gz
disables 'make install'
git-svn-id: http://googletest.googlecode.com/svn/trunk@562 861a406c-534a-0410-8894-cb66d6ee9925
-rw-r--r--Makefile.am18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index c3572dc..cb350b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -160,10 +160,6 @@ EXTRA_DIST += \
codegear/gtest_main.cbproj \
codegear/gtest_unittest.cbproj
-# Scripts and utilities
-bin_SCRIPTS = scripts/gtest-config
-CLEANFILES = $(bin_SCRIPTS)
-
# Distribute and install M4 macro
m4datadir = $(datadir)/aclocal
m4data_DATA = m4/gtest.m4
@@ -291,4 +287,16 @@ maintainer-clean-local:
# Death tests may produce core dumps in the build directory. In case
# this happens, clean them to keep distcleancheck happy.
-CLEANFILES += core
+CLEANFILES = core
+
+# Disables 'make install' as installing a compiled version of Google
+# Test can lead to undefined behavior due to violation of the
+# One-Definition Rule.
+
+install-exec-local:
+ echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
+ false
+
+install-data-local:
+ echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
+ false