libmemcached/libmemcached-no-docs-available.patch
Marcus Meissner ee630f686f Accepting request 265460 from home:dimstar:branches:devel:libraries:c_c++
- Add libmemcached-no-docs-available.patch: Do not build
  documentation if this is not a VC checkout. The idea is that the
  tarballs do only ship the pre-built documentation (which, on the
  other hand, is also missing in 1.0.18).

And, after more than a month, we get a building package again...

OBS-URL: https://build.opensuse.org/request/show/265460
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmemcached?expand=0&rev=46
2014-12-18 14:00:43 +00:00

33 lines
789 B
Diff

Index: libmemcached-1.0.18/Makefile.am
===================================================================
--- libmemcached-1.0.18.orig/Makefile.am
+++ libmemcached-1.0.18/Makefile.am
@@ -26,6 +26,10 @@ EXTRA_DIST=
dist_man_MANS=
MAINTAINERCLEANFILES=
+if IS_VCS_CHECKOUT
+SUBDIRS= docs
+endif
+
#includes additional rules from aminclude.am
@INC_AMINCLUDE@
@@ -57,7 +61,6 @@ endif
include libmemcachedutil-1.0/include.am
include clients/include.am
-include docs/include.am
include man/include.am
if BUILD_LIBMEMCACHED_PROTOCOL
@@ -103,7 +106,7 @@ merge-clean:
@echo "Files that need to be either removed or checked in:"
@bzr unknowns
-clean-local: clean-libtest-check clean-docs-check clean-rpm
+clean-local: clean-libtest-check clean-rpm
lcov: lcov-clean check