docs/Makefile.am: Don't descend into the plugins dir if plugin docs building is disabled.
[platform/upstream/gstreamer.git] / docs / Makefile.am
1 if ENABLE_DOCBOOK
2 SUBDIRS_DOCBOOK = faq manual pwg
3 else
4 SUBDIRS_DOCBOOK =
5 endif
6
7 if ENABLE_PLUGIN_DOCS
8 PLUGIN_DOCS_DIRS = plugins
9 else
10 PLUGIN_DOCS_DIRS =
11 endif
12
13 BUILT_SOURCES = version.entities
14
15 SUBDIRS = design gst libs $(PLUGIN_DOCS_DIRS) $(SUBDIRS_DOCBOOK)
16 DIST_SUBDIRS = design gst libs plugins faq manual pwg slides xsl
17
18 EXTRA_DIST = \
19         manuals.mak htmlinstall.mak \
20         image-png image-pdf image-eps url.entities version.entities.in
21
22 upload:
23         @if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi