aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2011-04-07 07:37:28 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2011-04-07 07:37:28 +0000
commit52277c919e6cc47a6169d5bec48c0b03aecaa874 (patch)
tree9dd733eb5ee4a11512f3bb682e0b2d2835de546a
parent8e68753288986fd689e30efdaf4324f2f473ade7 (diff)
downloadgoogletest-52277c919e6cc47a6169d5bec48c0b03aecaa874.tar.gz
googletest-52277c919e6cc47a6169d5bec48c0b03aecaa874.tar.bz2
googletest-52277c919e6cc47a6169d5bec48c0b03aecaa874.zip
disables 'make install'
-rw-r--r--Makefile.am16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 0c1a802a..adc21d7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,10 +7,6 @@ EXTRA_DIST =
# included in the 'subdirs' variable.
SUBDIRS = $(subdirs)
-# Scripts and utilities to be installed by 'make install'.
-dist_bin_SCRIPTS = scripts/gmock_doctor.py
-bin_SCRIPTS = scripts/gmock-config
-
# This is generated by the configure script, so clean it for distribution.
DISTCLEANFILES = scripts/gmock-config
@@ -199,3 +195,15 @@ 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
+
+# Disables 'make install' as installing a compiled version of Google
+# Mock 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 Mock into your build system."
+ false
+
+install-data-local:
+ echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system."
+ false