1 ## Process this file with automake to produce Makefile.in
3 # The name of the module, e.g. 'glib'.
4 #DOC_MODULE=gstreamer-libs-@GST_MAJORMINOR@
5 DOC_MODULE=gstreamer-libs
10 html: html-build.stamp
11 include $(top_srcdir)/common/upload.mak
15 # $(DOC_MODULE).types \
16 # $(DOC_MODULE)-sections.txt \
17 # $(DOC_MODULE)-docs.sgml
19 # ugly hack to make -unused.sgml work
22 # cd $(srcdir)/tmpl && \
23 # ln -sf gstreamer-libs-unused.sgml \
24 # $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
25 # touch unused-build.stamp
27 # these rules are added to create parallel docs using GST_MAJORMINOR
28 #$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
31 #CLEANFILES = $(basefiles)
33 # The top-level SGML file. Change it if you want.
34 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
36 # The directory containing the source code. Relative to $(top_srcdir).
37 # gtk-doc will search all .c & .h files beneath here for inline comments
38 # documenting functions and macros.
39 DOC_SOURCE_DIR=$(top_srcdir)/libs/gst
40 DOC_BUILD_DIR=$(top_builddir)/libs/gst
42 # Extra options to supply to gtkdoc-scan.
43 SCAN_OPTIONS=--deprecated-guards="GST_DISABLE_DEPRECATED"
46 # there's something wrong with gstreamer-sections.txt not being in the dist
47 # maybe it doesn't resolve; we're adding it below for now
48 #EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
50 # Extra options to supply to gtkdoc-mkdb.
51 MKDB_OPTIONS= --output-format=xml --sgml-mode --ignore-files=trio
53 # Extra options to supply to gtkdoc-fixref.
54 FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
55 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
56 --extra-dir=$(datadir)/gtk-doc/html/gstreamer-@GST_MAJORMINOR@
58 # Used for dependencies.
59 HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.h
60 CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.c
62 # Dependencies for the intermediate scanobj tool
63 SCANOBJ_DEPS = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la \
64 $(top_builddir)/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la
66 # Extra options to pass to gtkdoc-scanobj or gtkdoc-scangobj.
67 SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
69 # Header files to ignore when scanning.
74 # Images to copy into HTML directory.
75 HTML_IMAGES = gdp-header.png
77 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
80 # Other files to distribute.
83 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
84 # contains GtkObjects/GObjects and you want to document signals and properties.
85 GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_builddir) -I$(top_builddir)/libs
86 GTKDOC_LIBS = $(GST_OBJ_LIBS) $(SCANOBJ_DEPS)
88 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
89 GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
91 # If you need to override some of the declarations, place them in this file
92 # and uncomment this line.
93 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
95 include $(top_srcdir)/common/gtk-doc.mak