Document how to build with or use libsecret
[platform/upstream/libsecret.git] / docs / reference / libsecret / 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 the module, e.g. 'glib'.
12 DOC_MODULE=libsecret
13
14 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
15 DOC_MODULE_VERSION=@SECRET_MAJOR@
16
17 # The top-level SGML file. You can change this if you want to.
18 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
19
20 # The directory containing the source code. Relative to $(srcdir).
21 # gtk-doc will search all .c & .h files beneath here for inline comments
22 # documenting the functions and macros.
23 # e.g. DOC_SOURCE_DIR=../../../gtk
24 DOC_SOURCE_DIR=$(top_srcdir)/libsecret
25
26 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
27 SCANGOBJ_OPTIONS=
28
29 # Extra options to supply to gtkdoc-scan.
30 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
31 SCAN_OPTIONS=--deprecated-guards="SECRET_DISABLE_DEPRECATED"
32
33 # Extra options to supply to gtkdoc-mkdb.
34 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
35 MKDB_OPTIONS=--sgml-mode --output-format=xml
36
37 # Extra options to supply to gtkdoc-mktmpl
38 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
39 MKTMPL_OPTIONS=
40
41 # Extra options to supply to gtkdoc-mkhtml
42 MKHTML_OPTIONS=
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
48 # Used for dependencies. The docs will be rebuilt if any of these change.
49 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
50 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
51 HFILE_GLOB=$(top_srcdir)/libsecret/*.h
52 CFILE_GLOB=$(top_srcdir)/libsecret/*.c
53
54 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
55 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
56 EXTRA_HFILES=
57
58 # Header files to ignore when scanning. Use base file name, no paths
59 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
60 IGNORE_HFILES= \
61         mock-service.h \
62         secret-dbus-generated.h \
63         secret-private.h \
64         $(NULL)
65
66 # Images to copy into HTML directory.
67 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
68 HTML_IMAGES=
69
70 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
71 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
72 content_files = \
73         libsecret-examples.sgml \
74         libsecret-using.sgml \
75         migrating-libgnome-keyring.xml
76
77 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
78 # These files must be listed here *and* in content_files
79 # e.g. expand_content_files=running.sgml
80 expand_content_files = \
81         migrating-libgnome-keyring.xml
82
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)
88 GTKDOC_CFLAGS= -I$(top_srcdir) -I$(top_builddir) $(GLIB_CFLAGS) -Wno-error
89 GTKDOC_LIBS= $(GLIB_LIBS) $(GOBJECT_LIBS) \
90         $(top_builddir)/libsecret/libsecret-@SECRET_MAJOR@.la
91
92 # This includes the standard gtk-doc make rules, copied by gtkdocize.
93 include $(top_srcdir)/gtk-doc.make
94
95 # Other files to distribute
96 # e.g. EXTRA_DIST += version.xml.in
97 EXTRA_DIST += \
98         version.xml.in \
99         version-major.in
100
101 # Files not to distribute
102 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
103 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
104 DISTCLEANFILES = tmpl/secret-unused.sgml
105
106 # Comment this out if you want your docs-status tested during 'make check'
107 #TESTS_ENVIRONMENT = cd $(srcsrc)
108 #TESTS = $(GTKDOC_CHECK)