1 # We require automake 1.10 for $(abs_builddir)
2 AUTOMAKE_OPTIONS = 1.10
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.
9 # The name of the module, e.g. 'glib'.
12 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
13 # DOC_MODULE_VERSION = $(EV_API_VERSION)
15 # The top-level SGML file. You can change this if you want to.
16 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
18 # The directory containing the source code. Relative to $(srcdir).
19 # gtk-doc will search all .c & .h files beneath here for inline comments
20 # evinceing the functions and macros.
21 # e.g. DOC_SOURCE_DIR=../../../gtk
22 DOC_SOURCE_DIR = $(top_srcdir)/shell
24 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
27 # Extra options to supply to gtkdoc-scan.
28 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
31 # Extra options to supply to gtkdoc-mkdb.
32 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
33 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=ev
35 # Extra options to supply to gtkdoc-mktmpl
36 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
39 # Extra options to supply to gtkdoc-mkhtml
40 # Add the builddir to the HTML path so that version.xml is found
41 MKHTML_OPTIONS = --path="$(abs_builddir)"
43 # Extra options to supply to gtkdoc-fixref. Not normally needed.
44 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
46 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
47 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
48 --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gdk \
49 --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gdk-pixbuf \
50 --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gtk
52 # Used for dependencies. The docs will be rebuilt if any of these change.
53 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
54 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
55 HFILE_GLOB = $(top_srcdir)/shell/*.h
56 CFILE_GLOB = $(top_srcdir)/shell/*.c
58 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
59 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
60 # EXTRA_HFILES = $(top_builddir)/evince/ev-version.h
63 # Header files to ignore when scanning. Use base file name, no paths
64 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
69 # Images to copy into HTML directory.
70 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
73 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
74 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
78 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
79 # These files must be listed here *and* in content_files
80 # e.g. expand_content_files=running.sgml
81 expand_content_files =
83 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
84 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
85 # signals and properties.
86 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
87 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
91 -I$(top_srcdir)/shell \
92 -I$(top_builddir)/shell \
93 -I$(top_srcdir)/cut-n-paste/zoom-control/ \
94 -I$(top_srcdir)/cut-n-paste/toolbar-editor/ \
95 -I$(top_srcdir)/cut-n-paste/totem-screensaver/ \
96 -I$(top_srcdir)/libdocument \
97 -I$(top_builddir)/libdocument \
98 -I$(top_srcdir)/libview \
99 -I$(top_srcdir)/libmisc \
100 -I$(top_builddir)/libview \
101 -I$(top_srcdir)/properties \
102 -DEVINCEDATADIR=\"$(pkgdatadir)\" \
103 -DGNOMEDATADIR=\"$(datadir)\" \
104 -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
105 -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
106 -DEVINCE_COMPILATION \
109 $(DISABLE_DEPRECATED) \
113 $(top_builddir)/shell/main.o \
114 $(top_builddir)/shell/evinced-ev-daemon.o \
115 $(top_builddir)/shell/ev-convert-metadata.o
118 $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \
119 $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \
120 $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la \
121 $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
122 $(top_builddir)/cut-n-paste/smclient/libsmclient.la \
123 $(top_builddir)/properties/libevproperties.la \
124 $(top_builddir)/libdocument/libevdocument3.la \
125 $(top_builddir)/libview/libevview3.la \
126 $(top_builddir)/libmisc/libevmisc.la \
129 $(filter-out $(FILTER_OUT),$(wildcard $(top_builddir)/shell/*.o))
131 # This includes the standard gtk-doc make rules, copied by gtkdocize.
132 include $(top_srcdir)/gtk-doc.make
134 # Other files to distribute
135 # e.g. EXTRA_DIST += version.xml.in
139 # Files not to distribute
140 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
141 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
144 # Comment this out if you want your docs-status tested during 'make check'
146 #TESTS_ENVIRONMENT = cd $(srcsrc) &&
147 #TESTS = $(GTKDOC_CHECK)
150 -include $(top_srcdir)/git.mk