autogen.sh: Add default for new --enable-plugin-docs switch.
[platform/upstream/gstreamer.git] / docs / Makefile.am
1 if ENABLE_GTK_DOC
2 SUBDIRS_GTK_DOC = gst libs
3 else
4 SUBDIRS_GTK_DOC =
5 endif
6
7 if ENABLE_PLUGIN_DOCS
8 SUBDIRS_PLUGIN_DOCS = plugins
9 else
10 SUBDIRS_PLUGIN_DOCS =
11 endif
12
13 if ENABLE_DOCBOOK
14 SUBDIRS_DOCBOOK = faq manual pwg
15 else
16 SUBDIRS_DOCBOOK =
17 endif
18
19 BUILT_SOURCES = version.entities
20
21 SUBDIRS = design $(SUBDIRS_DOCBOOK) $(SUBDIRS_GTK_DOC) $(SUBDIRS_PLUGIN_DOCS)
22 DIST_SUBDIRS = design gst libs plugins faq manual pwg slides xsl
23
24 EXTRA_DIST = \
25         manuals.mak htmlinstall.mak \
26         image-png image-pdf image-eps url.entities version.entities.in
27
28 upload:
29         @if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi