LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0001_Allow_make_install.patch of Package gmock (Project GNOME:Ayatana)

diff -Nru gmock-1.6.0.orig/gtest/Makefile.am gmock-1.6.0/gtest/Makefile.am
--- gmock-1.6.0.orig/gtest/Makefile.am	2012-08-21 22:02:53.158710169 -0400
+++ gmock-1.6.0/gtest/Makefile.am	2012-08-21 22:03:31.354672189 -0400
@@ -288,15 +288,3 @@
 # 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
-# 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
diff -Nru gmock-1.6.0.orig/Makefile.am gmock-1.6.0/Makefile.am
--- gmock-1.6.0.orig/Makefile.am	2012-08-21 22:02:53.151710176 -0400
+++ gmock-1.6.0/Makefile.am	2012-08-21 22:03:15.439688013 -0400
@@ -195,15 +195,3 @@
 # 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