From 068529e1b7f4222916ba1f731fc27208a36dcb45 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 26 Feb 2014 11:32:01 +0100 Subject: [PATCH] docs: install prebuilt plugin docs if gtk-doc is disabled Sync to the Makefile.am from gst-plugin-base where it is done right. Fixes #725034 --- docs/Makefile.am | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 860b989897..2e5d1c8710 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,16 +1,14 @@ -if ENABLE_PLUGIN_DOCS -PLUGINS_DOCS_DIRS = plugins -else -PLUGINS_DOCS_DIRS = -endif - if ENABLE_GTK_DOC -GTK_DOC_DIRS = $(PLUGINS_DOCS_DIRS) +if ENABLE_PLUGIN_DOCS +PLUGIN_DOCS_DIRS = plugins else -GTK_DOC_DIRS = +PLUGIN_DOCS_DIRS = +endif +else +PLUGIN_DOCS_DIRS = plugins endif -SUBDIRS = libs $(GTK_DOC_DIRS) +SUBDIRS = libs $((PLUGIN_DOCS_DIRS) DIST_SUBDIRS = libs plugins EXTRA_DIST = \