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
This commit is contained in:
Stefan Sauer 2014-02-26 11:31:03 +01:00
parent c10d042a0d
commit a000c6c518

View file

@ -1,10 +1,14 @@
if ENABLE_GTK_DOC if ENABLE_GTK_DOC
GTK_DOC_DIRS = plugins if ENABLE_PLUGIN_DOCS
PLUGIN_DOCS_DIRS = plugins
else else
GTK_DOC_DIRS = PLUGIN_DOCS_DIRS =
endif
else
PLUGIN_DOCS_DIRS = plugins
endif endif
SUBDIRS = $(GTK_DOC_DIRS) SUBDIRS = $(PLUGIN_DOCS_DIRS)
DIST_SUBDIRS = plugins DIST_SUBDIRS = plugins
EXTRA_DIST = \ EXTRA_DIST = \
@ -12,4 +16,4 @@ EXTRA_DIST = \
version.entities.in version.entities.in
upload: upload:
make -C plugins upload @if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi