]> www.fi.muni.cz Git - evince.git/blob - help/reference/libview/Makefile.am
bfcffcdcd075315fc94be84a10b0400910428568
[evince.git] / help / reference / libview / Makefile.am
1 # We require automake 1.10 for $(abs_builddir)
2 AUTOMAKE_OPTIONS = 1.10
3
4 # This is a blank Makefile.am for using gtk-doc.
5 # Copy this to your project's API docs directory and modify the variables to
6 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
7 # of using the various options.
8
9 # The name of the module, e.g. 'glib'.
10 DOC_MODULE = libevview
11
12 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
13 DOC_MODULE_VERSION = $(EV_API_VERSION)
14
15
16 # The top-level SGML file. You can change this if you want to.
17 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
18
19 # The directory containing the source code. Relative to $(srcdir).
20 # gtk-doc will search all .c & .h files beneath here for inline comments
21 # viewing the functions and macros.
22 # e.g. DOC_SOURCE_DIR=../../../gtk
23 DOC_SOURCE_DIR = ../../../libview
24
25 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
26 SCANGOBJ_OPTIONS =
27
28 # Extra options to supply to gtkdoc-scan.
29 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
30 SCAN_OPTIONS =
31
32 # Extra options to supply to gtkdoc-mkdb.
33 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
34 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=ev
35
36 # Extra options to supply to gtkdoc-mktmpl
37 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
38 MKTMPL_OPTIONS =
39
40 # Extra options to supply to gtkdoc-mkhtml
41 # Add the builddir to the HTML path so that version.xml is found
42 MKHTML_OPTIONS = --path="$(abs_builddir)"
43
44 # Extra options to supply to gtkdoc-fixref. Not normally needed.
45 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
46 FIXXREF_OPTIONS = \
47         --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
48         --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
49         --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gdk \
50         --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gdk-pixbuf \
51         --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gtk
52
53 # Used for dependencies. The docs will be rebuilt if any of these change.
54 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
55 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
56 HFILE_GLOB = \
57         $(top_srcdir)/libview/*.h \
58         $(top_builddir)/libview/*.h
59
60 CFILE_GLOB = \
61         $(top_srcdir)/libview/*.c
62
63 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
64 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
65 # EXTRA_HFILES = $(top_builddir)/evview/ev-version.h
66 EXTRA_HFILES =
67
68 # Header files to ignore when scanning. Use base file name, no paths
69 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
70 IGNORE_HFILES = \
71         config.h \
72         ev-pixbuf-cache.h \
73         ev-timeline.h \
74         ev-transition-animation.h \
75         ev-view-accessible.h \
76         ev-view-marshal.h \
77         ev-view-private.h
78
79 # Images to copy into HTML directory.
80 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
81 HTML_IMAGES =
82
83 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
84 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
85 content_files = \
86         version.xml
87
88 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
89 # These files must be listed here *and* in content_files
90 # e.g. expand_content_files=running.sgml
91 expand_content_files =
92
93 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
94 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
95 # signals and properties.
96 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
97 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
98 GTKDOC_CFLAGS = \
99         -I$(top_srcdir)                                 \
100         -I$(top_builddir)                               \
101         -I$(top_srcdir)/libview                         \
102         -I$(top_srcdir)/libdocument                     \
103         -I$(top_builddir)/libdocument                   \
104         -DDATADIR=\"$(pkgdatadir)\"                     \
105         -DGNOMEDATADIR=\"$(datadir)\"                   \
106         -DEVINCE_UIDIR=\"$(pkgdatadir)\"                \
107         -DGNOMELOCALEDIR=\"$(datadir)/locale\"          \
108         -DEV_BACKENDSDIR=\"$(backenddir)\"              \
109         -DEVINCE_COMPILATION                            \
110         $(AM_CFLAGS)                                    \
111         $(LIBVIEW_CFLAGS)                               \
112         $(WARN_CFLAGS)                                  \
113         $(DISABLE_DEPRECATED)
114
115 GTKDOC_LIBS = \
116         $(top_builddir)/libdocument/libevdocument.la \
117         $(top_builddir)/libview/libevview.la \
118         $(LIBDOCUMENT_LIBS)
119
120 # This includes the standard gtk-doc make rules, copied by gtkdocize.
121 include $(top_srcdir)/gtk-doc.make
122
123 # Other files to distribute
124 # e.g. EXTRA_DIST += version.xml.in
125 EXTRA_DIST += \
126         version.xml.in
127
128 # Files not to distribute
129 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
130 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
131 #DISTCLEANFILES +=
132
133 # Comment this out if you want your docs-status tested during 'make check'
134 if ENABLE_GTK_DOC
135 #TESTS_ENVIRONMENT = cd $(srcsrc) &&
136 #TESTS = $(GTKDOC_CHECK)
137 endif
138
139 -include $(top_srcdir)/git.mk