docs/: restructure so that common stuff is shown first
[platform/upstream/gstreamer.git] / docs / Makefile.am
1
2 if BUILD_PLUGIN_DOCS
3 SUBDIRS_PLUGINS = plugins
4 else
5 SUBDIRS_PLUGINS =
6 endif
7
8 # FIXME: separate this out into docbook and gtk-doc so it doesn't descend
9 # for docs it can't build
10 if BUILD_DOCS
11 SUBDIRS_DOCS = faq manual pwg gst libs
12 else
13 SUBDIRS_DOCS =
14 endif
15
16 SUBDIRS = $(SUBDIRS_DOCS) $(SUBDIRS_PLUGINS)
17 DIST_SUBDIRS = gst faq manual pwg libs plugins xsl
18
19 EXTRA_DIST = \
20         slides manuals.mak htmlinstall.mak upload.mak \
21         image-png image-pdf image-eps url.entities version.entities.in
22
23 upload:
24         @if test "x$(SUBDIRS_DOCS)" != x; then for a in $(SUBDIRS_DOCS); do cd $$a; make upload; cd ..; done; fi
25
26 dist-hook:
27         $(RM) -rf $(distdir)/random/CVS
28         $(RM) -rf $(distdir)/random/*~
29         $(RM) -rf $(distdir)/random/.\#*
30         $(RM) -rf $(distdir)/slides/CVS
31         $(RM) -rf $(distdir)/slides/*~
32         $(RM) -rf $(distdir)/slides/.\#*