a9bac881fcbc1dcd54f390879d11837b55193f9c
[platform/upstream/polkit.git] / docs / polkit / Makefile.am
1
2 NULL =
3
4 AUTOMAKE_OPTIONS = 1.7
5
6 # The name of the module.
7 DOC_MODULE=polkit-1
8
9 # The top-level SGML file.
10 DOC_MAIN_SGML_FILE=polkit-1-docs.xml
11
12 # Extra options to supply to gtkdoc-scan
13 SCAN_OPTIONS=--ignore-headers=config.h
14
15 # The directory containing the source code. Relative to $(srcdir)
16 DOC_SOURCE_DIR=../../src
17
18 # Used for dependencies
19 HFILE_GLOB=$(top_srcdir)/src/polkit*/*.h
20 CFILE_GLOB=$(top_srcdir)/src/polkit*/*.c
21
22 # Headers to ignore
23 IGNORE_HFILES= \
24         $(NULL)
25
26 # CFLAGS and LDFLAGS for compiling scan program. Only needed
27 # if $(DOC_MODULE).types is non-empty.
28 INCLUDES = \
29         $(DBUS_GLIB_CFLAGS)                                     \
30         $(GLIB_CFLAGS)                                          \
31         $(GIO_CFLAGS)                                           \
32         -I$(top_srcdir)/src/polkit                              \
33         -I$(top_builddir)/src/polkit                            \
34         -I$(top_srcdir)/src/polkitagent                         \
35         -I$(top_builddir)/src/polkitagent                       \
36         $(NULL)
37
38 GTKDOC_LIBS = \
39         $(DBUS_GLIB_LIBS)                                       \
40         $(GLIB_LIBS)                                            \
41         $(GIO_LIBS)                                             \
42         $(top_builddir)/src/polkit/libpolkit-gobject-1.la       \
43         $(top_builddir)/src/polkitagent/libpolkit-agent-1.la    \
44         $(NULL)
45
46 # Extra options to supply to gtkdoc-mkdb
47 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=polkit
48
49 # Extra options to supply to gtkdoc-mktmpl
50 MKTMPL_OPTIONS=
51
52 # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
53 content_files =                                                                                         \
54         overview.xml                                                                                    \
55         ../extensiondir.xml                                                                             \
56         ../version.xml                                                                                  \
57         docbook-interface-org.freedesktop.PolicyKit1.Authority.xml                                      \
58         docbook-interface-org.freedesktop.PolicyKit1.AuthenticationAgent.xml                            \
59         ../man/polkit.xml                                                                               \
60         ../man/polkitd.xml                                                                              \
61         ../man/pkcheck.xml                                                                              \
62         ../man/pkaction.xml                                                                             \
63         ../man/pkexec.xml                                                                               \
64         ../man/pkttyagent.xml                                                                           \
65         $(NULL)
66
67 # Images to copy into HTML directory
68 HTML_IMAGES =                                           \
69         ../polkit-architecture.png                      \
70         ../polkit-authentication-agent-example.png      \
71         ../polkit-authentication-agent-example-wheel.png \
72         $(NULL)
73
74 # Extra options to supply to gtkdoc-fixref
75 FIXXREF_OPTIONS=
76
77 if ENABLE_GTK_DOC
78 include $(top_srcdir)/gtk-doc.make
79 else
80 CLEANFILES =
81 endif
82
83 CLEANFILES +=   *~                              \
84                 polkit-1-scan.*                 \
85                 polkit-1.args                   \
86                 polkit-1.hierarchy              \
87                 polkit-1.interfaces             \
88                 polkit-1.prerequisites          \
89                 polkit-1.signals                \
90                 *.bak                           \
91                 polkit-1-decl-list.txt          \
92                 polkit-1-decl.txt               \
93                 polkit-1-overrides.txt          \
94                 polkit-1-undeclared.txt         \
95                 polkit-1-undocumented.txt       \
96                 *.stamp                         \
97                 -rf html xml                    \
98                 $(NULL)
99