]> www.fi.muni.cz Git - evince.git/blob - help/reference/shell/Makefile.am
Split API documentation into libdocument, libview and shell. Required
[evince.git] / help / reference / shell / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # We require automake 1.6 at least.
4 AUTOMAKE_OPTIONS = 1.6
5
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.
10
11 # The name of the module, e.g. 'glib'.
12 DOC_MODULE=evince
13
14 # The top-level SGML file. You can change this if you want to.
15 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
16
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=../../../shell
22
23 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
24 SCANGOBJ_OPTIONS=
25
26 # Extra options to supply to gtkdoc-scan.
27 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" 
28 SCAN_OPTIONS=
29
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
33
34 # Extra options to supply to gtkdoc-mktmpl
35 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
36 MKTMPL_OPTIONS=
37
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
40 FIXXREF_OPTIONS=
41
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
45 HFILE_GLOB=$(top_srcdir)/shell/*.h
46 CFILE_GLOB=$(top_srcdir)/shell/*.c
47
48 # Header files to ignore when scanning.
49 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
50 IGNORE_HFILES=          \
51         ev-marshal.h    \
52         ev-marshal.c 
53
54 # Images to copy into HTML directory.
55 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
56 HTML_IMAGES=
57
58 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
59 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
60 content_files=
61
62 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
63 # These files must be listed here *and* in content_files
64 # e.g. expand_content_files=running.sgml
65 expand_content_files=
66
67 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
68 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
69 # signals and properties.
70 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
71 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
72 INCLUDES= \
73         -I$(top_srcdir)                                 \
74         -I$(top_builddir)                               \
75         -I$(top_srcdir)/shell \
76         -DDATADIR=\"$(pkgdatadir)\"                     \
77         -DGNOMEDATADIR=\"$(datadir)\"                   \
78         -I$(top_srcdir)/cut-n-paste/zoom-control/       \
79         -I$(top_srcdir)/cut-n-paste/toolbar-editor/     \
80         -I$(top_srcdir)/cut-n-paste/totem-screensaver/  \
81         -I$(top_srcdir)/libdocument                     \
82         -I$(top_builddir)/libdocument                   \
83         -I$(top_srcdir)/libview                         \
84         -I$(top_builddir)/libview                       \
85         -I$(top_srcdir)/properties                      \
86         -DGNOMELOCALEDIR=\"$(datadir)/locale\"          \
87         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
88         -DEVINCE_COMPILATION                            \
89         $(SHELL_CFLAGS)                                 \
90         $(WARN_CFLAGS)                                  \
91         $(DISABLE_DEPRECATED)                           \
92         $(GTK_PRINT_CFLAGS)
93
94 GTKDOC_LIBS= \
95         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la         \
96         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la  \
97         $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la       \
98         $(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la       \
99         $(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la     \
100         $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
101         $(top_builddir)/cut-n-paste/smclient/libsmclient.la             \
102         $(top_builddir)/properties/libevproperties.la                   \
103         $(top_builddir)/libdocument/libevdocument.la                    \
104         $(top_builddir)/libview/libevview.la                            \
105         $(SHELL_LIBS)                                                   \
106         $(GTK_PRINT_LIBS)                                               \
107         $(filter-out ../../../shell/main.o,$(wildcard ../../../shell/*.o))
108
109 if ENABLE_DJVU
110 GTKDOC_LIBS +=  $(DJVU_LIBS)
111 endif
112
113 if ENABLE_DVI
114 GTKDOC_LIBS +=  -lkpathsea
115 endif
116
117 if WITH_TYPE1_FONTS
118 GTKDOC_LIBS += -lt1
119 endif
120
121 # This includes the standard gtk-doc make rules, copied by gtkdocize.
122 include $(top_srcdir)/gtk-doc.make
123
124 # Other files to distribute
125 # e.g. EXTRA_DIST += version.xml.in
126 EXTRA_DIST += version.xml.in