## Process this file with automake to produce Makefile.in # We require automake 1.6 at least. AUTOMAKE_OPTIONS = 1.6 # This is a blank Makefile.am for using gtk-doc. # Copy this to your project's API docs directory and modify the variables to # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples # of using the various options. # The name of the module, e.g. 'glib'. DOC_MODULE=libvips # Uncomment for versioned docs and specify the version of the module, e.g. '2'. #DOC_MODULE_VERSION=2 # The top-level XML file (SGML in the past). You can change this if you want to. DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml # Directories containing the source code. # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk DOC_SOURCE_DIR=$(top_srcdir)/libvips # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= # Extra options to supply to gtkdoc-scan. # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" SCAN_OPTIONS=--rebuild-types # Extra options to supply to gtkdoc-mkdb. # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml MKDB_OPTIONS=--xml-mode --output-format=xml # Extra options to supply to gtkdoc-mktmpl # e.g. MKTMPL_OPTIONS=--only-section-tmpl MKTMPL_OPTIONS= # Extra options to supply to gtkdoc-mkhtml MKHTML_OPTIONS= # Extra options to supply to gtkdoc-fixref. Not normally needed. # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c HFILE_GLOB=$(top_srcdir)/libvips/include/vips/*.h CFILE_GLOB=$(top_srcdir)/libvips/*/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h EXTRA_HFILES= # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code IGNORE_VIPS_INCLUDE = \ almostdeprecated.h \ deprecated.h \ vips7compat.h \ dispatch.h \ enumtypes.h \ internal.h \ thread.h \ intl.h \ format.h \ mask.h \ private.h \ video.h # ignore all .h files in libvips/*, these are internal IGNORE_VIPS_C = \ binary.h \ hough.h \ nary.h \ parithmetic.h \ statistic.h \ unary.h \ unaryconst.h \ pcolour.h \ profiles.h \ bandary.h \ pconversion.h \ correlation.h \ pconvolution.h \ pcreate.h \ pmask.h \ point.h \ drawink.h \ pdraw.h \ dbh.h \ jpeg.h \ magick.h \ pforeign.h \ tiff.h \ pfreqfilt.h \ hist_unary.h \ phistogram.h \ sink.h \ vipsmarshal.h \ pmorphology.h \ global_balance.h \ pmosaicing.h \ presample.h \ templates.h IGNORE_HFILES = $(IGNORE_VIPS_INCLUDE) $(IGNORE_VIPS_C) # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png HTML_IMAGES = \ $(top_srcdir)/doc/images/owl.jpg \ $(top_srcdir)/doc/images/tn_owl.jpg \ $(top_srcdir)/doc/images/interconvert.png \ $(top_srcdir)/doc/images/Combine.png \ $(top_srcdir)/doc/images/Memtrace.png \ $(top_srcdir)/doc/images/Sequence.png \ $(top_srcdir)/doc/images/Sink.png \ $(top_srcdir)/doc/images/Vips-smp.png # we have some files in markdown ... convert to docbook for gtk-doc # pandoc makes section headers, we want refsect3 for gtk-doc .md.xml: pandoc -s --template="$(realpath pandoc-docbook-template.docbook)" --wrap=none -V title="$<" -f markdown+smart -t docbook -o $@ $< sed -i -e 's|