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

docs/Makefile.am

index 3d251583755123f2b53ce10023b75549b0b92c69..8ff41fee10c9d8f45dcdcbce350ca9cd1ff855cc 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 = \
@@ -12,4 +16,4 @@ EXTRA_DIST = \
         version.entities.in
 
 upload:
-       make -C plugins upload
+       @if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi