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

docs/Makefile.am

index 10847b5..8ff41fe 100644 (file)
@@ -1,8 +1,12 @@
+if ENABLE_GTK_DOC
 if ENABLE_PLUGIN_DOCS
 PLUGIN_DOCS_DIRS = plugins
 else
 PLUGIN_DOCS_DIRS =
 endif
+else
+PLUGIN_DOCS_DIRS = plugins
+endif
 
 SUBDIRS = $(PLUGIN_DOCS_DIRS)
 DIST_SUBDIRS = plugins