1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/Makefile.decl
6 # The name of the module.
9 # The top-level SGML file.
10 DOC_MAIN_SGML_FILE=gdk-pixbuf.sgml
12 # Extra options to supply to gtkdoc-scan
13 SCAN_OPTIONS=--source-dir=../../../contrib/gdk-pixbuf-xlib --deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"
15 # The directory containing the source code. Relative to $(srcdir)
16 DOC_SOURCE_DIR=../../../gdk-pixbuf
18 # Used for dependencies
19 HFILE_GLOB=$(top_srcdir)/gdk-pixbuf/*.h $(top_srcdir)/contrib/gdk-pixbuf-xlib/*.h
20 CFILE_GLOB=$(top_srcdir)/gdk-pixbuf/*.c $(top_srcdir)/contrib/gdk-pixbuf-xlib/*.c
22 # Header files to ignore when scanning
26 gdk-pixbuf-marshal.h \
27 gdk-pixbuf-xlib-private.h \
29 gdk-pixbuf-private.h \
38 -I$(top_builddir)/gdk \
43 $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
44 $(top_builddir)/gdk/$(gdktargetlib) \
45 $(top_builddir)/gtk/$(gtktargetlib) \
49 # Extra options to supply to gtkdoc-mkdb
50 MKDB_OPTIONS=--main-sgml-file=$(DOC_MAIN_SGML_FILE) --sgml-mode --source-dir=../../../contrib/gdk-pixbuf-xlib --output-format=xml --name-space=gdk_pixbuf
52 # Extra SGML files that are included by DOC_MAIN_SGML_FILE
55 gdk-pixbuf-from-drawables.sgml \
56 gdk-pixbuf-rendering.sgml \
58 porting-from-imlib.sgml \
59 gdk-pixbuf-csource-3.0.xml \
60 gdk-pixbuf-query-loaders-3.0.xml
62 # Images to copy into HTML directory
63 HTML_IMAGES = composite.png
65 # Extra options to supply to gtkdoc-fixref
66 FIXXREF_OPTIONS= --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
67 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib
70 include $(top_srcdir)/gtk-doc.make
72 # Other files to distribute
73 EXTRA_DIST += version.xml.in \
80 ########################################################################
83 gdk-pixbuf-csource-3.0.1 \
84 gdk-pixbuf-query-loaders-3.0.1
89 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
91 dist-local-check-mans-enabled:
92 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
97 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
98 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
101 dist-local-check-mans-enabled:
102 echo "*** --enable-man must be used in order to make dist"
107 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
109 EXTRA_DIST += $(man_MANS)
111 dist-hook-local: dist-local-check-mans-enabled gtk-docs-clean all-local
113 gtk-docs-clean: clean
114 cd $(srcdir) && rm -rf xml html
116 -include $(top_srcdir)/git.mk