diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2017-11-04 11:45:57 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2017-11-04 12:24:09 +0100 |
commit | a3a22ca1b6154c5a453b2cb75547469944936ca6 (patch) | |
tree | 5af72a993480efe02f76a40776a262cab6f3641b /tests/repro/docs/Makefile.am | |
parent | 3a6b8406e5eddee6eb7c527c498105c0a554641f (diff) | |
download | gtk-doc-a3a22ca1b6154c5a453b2cb75547469944936ca6.tar.gz |
tests: add a minimal test suite we can use for repro cases
Diffstat (limited to 'tests/repro/docs/Makefile.am')
-rw-r--r-- | tests/repro/docs/Makefile.am | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/tests/repro/docs/Makefile.am b/tests/repro/docs/Makefile.am new file mode 100644 index 0000000..e8a17fc --- /dev/null +++ b/tests/repro/docs/Makefile.am @@ -0,0 +1,79 @@ +## Process this file with automake to produce Makefile.in + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# The name of the module, e.g. 'glib'. +DOC_MODULE=tester + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +DOC_SOURCE_DIR=$(top_srcdir)/tests/repro/src + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS= + +# Extra options to supply to gtkdoc-scan. +SCAN_OPTIONS=--rebuild-sections --rebuild-types + +# Extra options to supply to gtkdoc-mkdb. +MKDB_OPTIONS=--xml-mode + +# Extra options to supply to gtkdoc-mkhtml +MKHTML_OPTIONS= + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# --html-dir=$(HTML_DIR) +FIXXREF_OPTIONS=--extra-dir=$(glib_prefix)/share/gtk-doc/html + +# Used for dependencies. The docs will be rebuilt if any of these change. +HFILE_GLOB=$(top_srcdir)/tests/repro/src/*.h +CFILE_GLOB=$(top_srcdir)/tests/repro/src/*.c + +# Header files to ignore when scanning. +IGNORE_HFILES=config.h + +# Images to copy into HTML directory. +HTML_IMAGES = + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +# e.g. content_files=running.sgml building.sgml changes-2.0.sgml +content_files = + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files= + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +GTKDOC_CFLAGS = -I$(top_srcdir)/tests/repro/src $(TEST_DEPS_CFLAGS) +GTKDOC_LIBS = $(TEST_DEPS_LIBS) $(top_builddir)/tests/repro/src/libtester.la + +# include generic part +include $(top_srcdir)/tests/gtk-doc.make + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in +EXTRA_DIST += + +CLEANFILES += \ + $(DOC_MODULE)-overrides.txt \ + $(DOC_MODULE).types + +if BUILD_TESTS +TESTS_ENVIRONMENT = \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + PATH=$(abs_top_builddir):$(srcdir):$(PATH) \ + PERL5LIB=$(abs_top_builddir):$(PERL5LIB) +endif + +CLEANFILES += \ + tester-sections.txt + +-include $(top_srcdir)/git.mk |