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.xml \
60 gdk-pixbuf-query-loaders.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 ########################################################################
84 man_MANS = gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1
87 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
89 BUILT_EXTRA_DIST = $(man_MANS)
93 dist-hook-local: $(BUILT_EXTRA_DIST)
94 files='$(BUILT_EXTRA_DIST)'; \
95 for f in $$files; do \
96 if test -f $$f; then d=.; else d=$(srcdir); fi; \
97 cp $$d/$$f $(distdir) || exit 1; done