docs: install prebuilt plugin docs if gtk-doc is disabled
authorStefan Sauer <ensonic@users.sf.net>
Wed, 26 Feb 2014 10:40:08 +0000 (11:40 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 26 Feb 2014 10:41:05 +0000 (11:41 +0100)
Sync to the Makefile.am from gst-plugin-base where it is done right.
Fixes #725034

docs/Makefile.am

index 2dacd31..11792cb 100644 (file)
@@ -1,10 +1,14 @@
 if ENABLE_GTK_DOC
-GTK_DOC_DIRS = # plugins
+if ENABLE_PLUGIN_DOCS
+PLUGIN_DOCS_DIRS = plugins
 else
-GTK_DOC_DIRS =
+PLUGIN_DOCS_DIRS =
+endif
+else
+PLUGIN_DOCS_DIRS = plugins
 endif
 
-SUBDIRS = $(GTK_DOC_DIRS)
+SUBDIRS = $(PLUGIN_DOCS_DIRS)
 DIST_SUBDIRS = # plugins
 
 EXTRA_DIST = \