1
## Process this file with automake to produce Makefile.in
3
# We require automake 1.6 at least.
6
# This is a blank Makefile.am for using gtk-doc.
7
# Copy this to your project's API docs directory and modify the variables to
8
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
9
# of using the various options.
11
# The name of the module, e.g. 'glib'.
12
DOC_MODULE=gnomescanui
14
# The top-level SGML file. You can change this if you want to.
15
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
17
# The directory containing the source code. Relative to $(srcdir).
18
# gtk-doc will search all .c & .h files beneath here for inline comments
19
# documenting the functions and macros.
20
# e.g. DOC_SOURCE_DIR=../../../gtk
21
DOC_SOURCE_DIR=$(top_srcdir)/libgnomescanui
23
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
26
# Extra options to supply to gtkdoc-scan.
27
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
30
# Extra options to supply to gtkdoc-mkdb.
31
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
32
MKDB_OPTIONS=--sgml-mode --output-format=xml
34
# Extra options to supply to gtkdoc-mktmpl
35
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
38
# Extra options to supply to gtkdoc-fixref. Not normally needed.
39
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
42
# Used for dependencies. The docs will be rebuilt if any of these change.
43
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
44
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
48
# Header files to ignore when scanning.
49
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
52
# Images to copy into HTML directory.
53
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
55
$(srcdir)/images/*.png \
56
$(top_srcdir)/libgnomescanui/icons/rotate-90.png \
57
$(top_srcdir)/libgnomescanui/icons/rotate-270.png \
58
$(top_srcdir)/libgnomescanui/icons/scan.png
60
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
61
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
66
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
67
# These files must be listed here *and* in content_files
68
# e.g. expand_content_files=running.sgml
71
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
72
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
73
# signals and properties.
74
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
75
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
78
-I$(top_srcdir)/libgnomescan \
79
-I$(top_srcdir)/libgnomescanui \
87
-L$(top_builddir)/libgnomescan -lgnomescan \
88
-L$(top_builddir)/libgnomescanui -lgnomescanui
91
# This includes the standard gtk-doc make rules, copied by gtkdocize.
92
include $(top_srcdir)/gtk-doc.make
94
# Other files to distribute
95
# e.g. EXTRA_DIST += version.xml.in
100
# gallery.xml: images/*.png Makefile
102
# echo "<para role=\"gallery\" align=\"center\">" > $@; \
103
# for i in images/*.png ; do \
104
# n=$${i/images\//}; n=$${n/.png/}; \
105
# echo -e "<link linkend=\"$$n\"><para>$$n</para><inlinegraphic fileref=\"$$n.png\" format=\"PNG\" /></link>" >> $@; \
106
# done; echo "</para>" >> $@; \
110
rm -rf html xml *.stamp ;\
111
rm -rf $(DOC_MODULE).{args,hierarchy,interfaces,prerequisites,signals} ;\
112
rm -rf $(DOC_MODULE)-{decl*,sections,undocumented,unused,overrides}.txt