X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=docs%2Freference%2FMakefile.am;h=c039fb8abe30699da72028164e47292e646c9a02;hb=57ceef742182d6f0d1f7844256863a37c2d80d6a;hp=4e05bb91a6fda3f6eafac8d7ed40316a1d3406b8;hpb=062bbb9e7322c8e3f5162f86fc2f93bfc587b830;p=rodin%2Fchimara.git diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 4e05bb9..c039fb8 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -16,7 +16,7 @@ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml # 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 = ../../src +DOC_SOURCE_DIR = ../../libchimara # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS = @@ -33,28 +33,49 @@ MKDB_OPTIONS = --sgml-mode --output-format=xml MKTMPL_OPTIONS = # Extra options to supply to gtkdoc-mkhtml -MKHTML_OPTIONS = +# The --path is because Gtk-doc is broken on non-distcheck vpath builds! Sigh. +MKHTML_OPTIONS = --path="$(abs_builddir)" # Extra options to supply to gtkdoc-fixref. Not normally needed. FIXXREF_OPTIONS = # Used for dependencies. The docs will be rebuilt if any of these change. -HFILE_GLOB = $(top_srcdir)/src/*.h -CFILE_GLOB = $(top_srcdir)/src/*.c +HFILE_GLOB = $(top_srcdir)/libchimara/*.h +CFILE_GLOB = $(top_srcdir)/libchimara/*.c # Extra headers to include when scanning, which are not under DOC_SOURCE_DIR EXTRA_HFILES = # Header files to ignore when scanning. Use base file name, no paths IGNORE_HFILES = chimara-glk-private.h \ - abort.h charset.h event.h input.h stream.h window.h \ - callbacks.h error.h + abort.h charset.h event.h input.h stream.h window.h # Images to copy into HTML directory. -HTML_IMAGES = +HTML_IMAGES = \ + images/fig1.png \ + images/fig2.png \ + images/fig3a.png \ + images/fig3b.png \ + images/fig3c.png \ + images/fig4a.png \ + images/fig4b.png \ + images/fig4c.png \ + images/fig5-7a.png \ + images/fig6.png \ + images/fig7b.png \ + images/fig7c.png \ + images/fig7d.png \ + images/fig7e.png \ + images/fig8a.png \ + images/fig8b.png \ + images/fig8c.png \ + images/fig9.png \ + images/fig10.png \ + images/fig11.png # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). content_files = version.xml \ + selectors.xml \ glk-front-matter.sgml \ glk-introduction.sgml \ glk-main-function.sgml \ @@ -65,7 +86,11 @@ content_files = version.xml \ glk-windows.sgml \ glk-window-arrangement.sgml \ glk-display-style.sgml \ - glk-other-events.sgml + glk-other-events.sgml \ + glk-porting.sgml \ + dispatch.sgml \ + blorb.sgml \ + blorb-library.sgml # SGML files where gtk-doc abbreviations (#GtkWidget) are expanded # These files must be listed here *and* in content_files @@ -82,7 +107,7 @@ expand_content_files = \ # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. GTKDOC_CFLAGS = -I$(top_srcdir) $(CHIMARA_CFLAGS) -GTKDOC_LIBS = $(top_builddir)/src/libchimara.la +GTKDOC_LIBS = $(top_builddir)/libchimara/libchimara.la # This includes the standard gtk-doc make rules, copied by gtkdocize. include $(top_srcdir)/gtk-doc.make @@ -93,9 +118,18 @@ EXTRA_DIST += version.xml.in # Files not to distribute # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types # for --rebuild-sections in $(SCAN_OPTIONS), e.g. $(DOC_MODULE)-sections.txt -# DISTCLEANFILES += +CLEANFILES += selectors.xml +DISTCLEANFILES = version.xml $(DOC_MODULE)-overrides.txt + +# Uncomment this if you want your docs-status tested during 'make check' +# Comment this while not all symbols are documented, otherwise distcheck fails +#if ENABLE_GTK_DOC +#TESTS_ENVIRONMENT = cd $(srcdir) && +#TESTS = $(GTKDOC_CHECK) +#endif + +dist_noinst_SCRIPTS = build-selector-table.pl -# Comment this out if you want your docs-status tested during 'make check' -# TESTS_ENVIRONMENT = cd $(srcsrc) -# TESTS = $(GTKDOC_CHECK) +selectors.xml: $(srcdir)/../../libchimara/gi_dispa.c + $(PERL) build-selector-table.pl $< > $@