1 ## Process this file with automake to produce Makefile.in
3 # The name of the module, e.g. 'glib'.
4 # DOC_MODULE=gstreamer-@GST_API_VERSION@
7 # don't want $(DOC_MODULE)-scan.c to be built with -Werror
10 BUILT_SOURCES=gstreamer.types
15 html: html-build.stamp
16 include $(top_srcdir)/common/upload-doc.mak
18 # The top-level SGML file. Change it if you want.
19 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
21 # The files containing the source code. Relative to $(top_srcdir).
22 # gtk-doc will search all .c & .h files beneath here for inline comments
23 # documenting functions and macros.
24 DOC_SOURCE_DIR = $(top_srcdir)/gst
26 # Extra options to supply to gtkdoc-scan.
27 SCAN_OPTIONS=--deprecated-guards="GST_DISABLE_DEPRECATED" \
28 --ignore-decorators='GST_EXPORT'
30 # Extra options to supply to gtkdoc-mkdb.
31 MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files=parse
33 # Extra options to supply to gtkdoc-fixref.
34 FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html
36 # Used for dependencies.
37 HFILE_GLOB=$(top_srcdir)/gst/*.h
38 CFILE_GLOB=$(top_srcdir)/gst/*.c
40 # Header files to ignore when scanning. Use base file name, no paths
43 glib-compat-private.h \
56 gst-universe.svg: gst-universe.dot
57 -dot -Tsvg $< | sed 's/\(font-size:[0-9]*\.[0-9]*\);/\1px;/g' >$@
59 # Images to copy into HTML directory.
62 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
63 content_files = building.xml running.xml gst-universe.svg
65 # Other files to distribute.
66 extra_files = gst-universe.dot
68 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
69 # contains GtkObjects/GObjects and you want to document signals and properties.
70 GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS)
71 GTKDOC_LIBS = $(GST_OBJ_LIBS) \
72 $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la \
73 $(top_builddir)/libs/gst/base/libgstbase-@GST_API_VERSION@.la \
74 $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_API_VERSION@.la \
75 $(top_builddir)/libs/gst/net/libgstnet-@GST_API_VERSION@.la
78 GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
79 GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
81 GTKDOC_EXTRA_ENVIRONMENT= \
82 GST_PLUGIN_SCANNER_1_0=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner
84 # If you need to override some of the declarations, place them in this file
85 # and uncomment this line.
86 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
88 include $(top_srcdir)/common/gtk-doc.mak
90 # gtk-doc.mak defines CLEANFILES
91 CLEANFILES += gst-universe.svg