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 $(srcdir)/../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
41 # Extra options to supply to gtkdoc-scan.
42 SCAN_OPTIONS=--deprecated-guards="GST_DISABLE_DEPRECATED"
45 # there's something wrong with gstreamer-sections.txt not being in the dist
46 # maybe it doesn't resolve; we're adding it below for now
47 #EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
49 # Extra options to supply to gtkdoc-mkdb.
50 MKDB_OPTIONS=--sgml-mode --ignore-files=trio
52 # Extra options to supply to gtkdoc-fixref.
53 FIXXREF_OPTIONS=--extra-dir=../gst/html
55 # Used for dependencies.
56 HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.h
57 CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.c
59 # this is a wingo addition
60 # thomasvs: another nice wingo addition would be an explanation on why
63 #SCANOBJ_DEPS = $(top_builddir)/gst/elements/libgstelements.la \
64 # $(top_builddir)/gst/schedulers/libgstbasicomegascheduler.la
65 SCANOBJ_DEPS = $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
67 # Header files to ignore when scanning.
72 # Images to copy into HTML directory.
75 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
78 # Other files to distribute.
81 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
82 # contains GtkObjects/GObjects and you want to document signals and properties.
83 GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) $(POPT_CFLAGS) -I$(top_builddir)
84 GTKDOC_LIBS = $(GST_OBJ_LIBS) $(POPT_LIBS) $(SCANOBJ_DEPS)
86 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
87 GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
89 # If you need to override some of the declarations, place them in this file
90 # and uncomment this line.
91 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
93 include $(top_srcdir)/common/gtk-doc.mak