File gstreamer-0_10-no-gtk-doc-for-reals.patch of Package gstreamer-0_10

diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am
index 0305f2d..5c0e187 100644
--- a/docs/gst/Makefile.am
+++ b/docs/gst/Makefile.am
@@ -1,5 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-
+if ENABLE_GTK_DOC
 # The name of the module, e.g. 'glib'.
 # DOC_MODULE=gstreamer-@GST_MAJORMINOR@
 DOC_MODULE=gstreamer
@@ -93,3 +93,4 @@ GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
 
 include $(top_srcdir)/common/gtk-doc.mak
+endif
\ No newline at end of file
diff --git a/docs/libs/Makefile.am b/docs/libs/Makefile.am
index 1a8859a..562475a 100644
--- a/docs/libs/Makefile.am
+++ b/docs/libs/Makefile.am
@@ -1,3 +1,4 @@
+if ENABLE_GTK_DOC
 ## Process this file with automake to produce Makefile.in
 
 # The name of the module, e.g. 'glib'.
@@ -97,3 +98,5 @@ GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
 
 include $(top_srcdir)/common/gtk-doc.mak
+
+endif
\ No newline at end of file
diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am
index 4ff7372..1721f8c 100644
--- a/docs/plugins/Makefile.am
+++ b/docs/plugins/Makefile.am
@@ -1,3 +1,4 @@
+if ENABLE_GTK_DOC
 GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
 
 ## Process this file with automake to produce Makefile.in
@@ -110,3 +111,4 @@ GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
 DOC_OVERRIDES =
 
 include $(top_srcdir)/common/gtk-doc-plugins.mak
+endif
\ No newline at end of file