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=libappindicator
14
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
18
# The top-level SGML file. You can change this if you want to.
19
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
21
# The directory containing the source code. Relative to $(srcdir).
22
# gtk-doc will search all .c & .h files beneath here for inline comments
23
# documenting the functions and macros.
24
# e.g. DOC_SOURCE_DIR=../../../gtk
25
DOC_SOURCE_DIR=../../src
27
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
28
SCANGOBJ_OPTIONS=--nogtkinit --type-init-func="g_type_init()"
30
# Extra options to supply to gtkdoc-scan.
31
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
32
#SCAN_OPTIONS=--rebuild-types --rebuild-sections
35
# Extra options to supply to gtkdoc-mkdb.
36
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
37
MKDB_OPTIONS=--sgml-mode --output-format=xml
39
# Extra options to supply to gtkdoc-mktmpl
40
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
43
# Extra options to supply to gtkdoc-mkhtml
46
# Extra options to supply to gtkdoc-fixref. Not normally needed.
47
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
50
# Used for dependencies. The docs will be rebuilt if any of these change.
51
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
52
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
53
HFILE_GLOB=$(top_srcdir)/src/app-indicator*.h
54
CFILE_GLOB=$(top_srcdir)/src/app-indicator*.c
56
# Header files to ignore when scanning.
57
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
59
app-indicator-enum-types.h \
60
application-service-appstore.h \
61
application-service-client.h \
62
application-service-lru-file.h \
63
application-service-marshal.h \
64
application-service-server.h \
65
application-service-watcher.h \
66
dbus-properties-client.h \
67
dbus-properties-server.h \
70
notification-item-client.h \
71
notification-item-server.h \
72
notification-watcher-client.h \
73
notification-watcher-server.h
75
# Images to copy into HTML directory.
76
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
79
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
80
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
81
content_files=version.xml
83
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
84
# These files must be listed here *and* in content_files
85
# e.g. expand_content_files=running.sgml
88
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
89
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
90
# signals and properties.
91
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
92
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
93
GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src $(INDICATOR_CFLAGS)
94
GTKDOC_LIBS=$(top_builddir)/src/libappindicator.la $(top_builddir)/src/libapplication.la $(INDICATOR_LIBS)
96
# This includes the standard gtk-doc make rules, copied by gtkdocize.
97
include $(top_srcdir)/gtk-doc.local.make
99
# Other files to distribute
100
# e.g. EXTRA_DIST += version.xml.in
101
EXTRA_DIST += version.xml.in libappindicator-docs.sgml.in
103
# Files not to distribute
104
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
105
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
108
# Comment this out if you want your docs-status tested during 'make check'
109
TESTS = gtkdoc-in-srcdir
111
gtkdoc-in-srcdir: Makefile.am
112
@echo "#!/bin/sh" > $@
113
@echo "cd \"$(srcdir)\"" >> $@
114
@echo "$(GTKDOC_CHECK)" >> $@
116
DISTCLEANFILES = gtkdoc-in-srcdir