mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
docs: cleanup makefiles
Remove commented out parts that we don't need. Remove "the wingo addition" - no so useful after all. Narrow down file-globs for plugin docs.
This commit is contained in:
parent
218c98a63e
commit
a3ec50053d
1 changed files with 7 additions and 34 deletions
|
@ -12,42 +12,16 @@ FORMATS=html
|
||||||
html: html-build.stamp
|
html: html-build.stamp
|
||||||
include $(top_srcdir)/common/upload-doc.mak
|
include $(top_srcdir)/common/upload-doc.mak
|
||||||
|
|
||||||
# generated basefiles
|
|
||||||
#basefiles = \
|
|
||||||
## $(DOC_MODULE).types \
|
|
||||||
# $(DOC_MODULE)-sections.txt \
|
|
||||||
# $(DOC_MODULE)-docs.sgml
|
|
||||||
|
|
||||||
# ugly hack to make -unused.sgml work
|
|
||||||
#unused-build.stamp:
|
|
||||||
# BUILDDIR=`pwd` && \
|
|
||||||
# cd $(srcdir)/tmpl && \
|
|
||||||
# ln -sf gstreamer-libs-unused.sgml \
|
|
||||||
# $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
|
|
||||||
# touch unused-build.stamp
|
|
||||||
|
|
||||||
# these rules are added to create parallel docs using GST_MAJORMINOR
|
|
||||||
#$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
|
|
||||||
# cp $< $@
|
|
||||||
|
|
||||||
#CLEANFILES = $(basefiles)
|
|
||||||
|
|
||||||
# The top-level SGML file. Change it if you want.
|
# The top-level SGML file. Change it if you want.
|
||||||
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
||||||
|
|
||||||
# The directory containing the source code. Relative to $(top_srcdir).
|
# The directory containing the source code.
|
||||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||||
# documenting functions and macros.
|
# documenting functions and macros.
|
||||||
DOC_SOURCE_DIR = $(top_srcdir)/ges/
|
DOC_SOURCE_DIR = $(top_srcdir)/ges
|
||||||
DOC_BUILD_DIR=$(top_builddir)/ges/
|
|
||||||
|
|
||||||
SCAN_OPTIONS=
|
SCAN_OPTIONS=
|
||||||
|
|
||||||
# FIXME :
|
|
||||||
# there's something wrong with gstreamer-sections.txt not being in the dist
|
|
||||||
# maybe it doesn't resolve; we're adding it below for now
|
|
||||||
#EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
|
|
||||||
|
|
||||||
# Extra options to supply to gtkdoc-mkdb.
|
# Extra options to supply to gtkdoc-mkdb.
|
||||||
MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,m
|
MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,m
|
||||||
|
|
||||||
|
@ -57,11 +31,8 @@ FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
|
||||||
--extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html
|
--extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html
|
||||||
|
|
||||||
# Used for dependencies.
|
# Used for dependencies.
|
||||||
HFILE_GLOB=$(DOC_SOURCE_DIR)/ges-*.h
|
HFILE_GLOB=$(top_srcdir)/ges/ges-*.h
|
||||||
CFILE_GLOB=$(DOC_SOURCE_DIR)/ges-*.c
|
CFILE_GLOB=$(top_srcdir)/ges/ges-*.c
|
||||||
|
|
||||||
SCANOBJ_DEPS = \
|
|
||||||
$(top_builddir)/ges/libges-@GST_MAJORMINOR@.la
|
|
||||||
|
|
||||||
# Extra options to supply to gtkdoc-scan.
|
# Extra options to supply to gtkdoc-scan.
|
||||||
SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
|
SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
|
||||||
|
@ -93,7 +64,9 @@ extra_files =
|
||||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
|
||||||
# contains GtkObjects/GObjects and you want to document signals and properties.
|
# contains GtkObjects/GObjects and you want to document signals and properties.
|
||||||
GTKDOC_CFLAGS = -I$(top_srcdir) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
GTKDOC_CFLAGS = -I$(top_srcdir) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
||||||
GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_BASE_LIBS) $(GST_LIBS)
|
GTKDOC_LIBS = \
|
||||||
|
$(top_builddir)/ges/libges-@GST_MAJORMINOR@.la
|
||||||
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
||||||
|
|
||||||
GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
|
GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
|
||||||
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
|
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
|
||||||
|
|
Loading…
Reference in a new issue