Disable gtk-doc since the build fails
[profile/ivi/node-startup-controller.git] / docs / reference / node-startup-controller / Makefile.am
1 # vi:set ts=8 sw=8 noet ai nocindent:
2
3 # We require automake 1.6 at least.
4 AUTOMAKE_OPTIONS = 1.6
5
6 # The name of the module, e.g. 'glib'.
7 DOC_MODULE=node-startup-controller
8
9 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
10 DOC_MODULE_VERSION=$(NODE_STARTUP_CONTROLLER_VERSION)
11
12 # The top-level SGML file. You can change this if you want to.
13 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
14
15 # Directories containing the source code.
16 # gtk-doc will search all .c and .h files beneath these paths
17 # for inline comments documenting functions and macros.
18 # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
19 DOC_SOURCE_DIR =                                                        \
20         $(top_srcdir)/node-startup-controller                           \
21         $(top_srcdir)/common                                            \
22         $(top_srcdir)/legacy-app-handler
23
24 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
25 SCANGOBJ_OPTIONS=
26
27 # Extra options to supply to gtkdoc-scan.
28 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
29 SCAN_OPTIONS=--rebuild-sections
30
31 # Extra options to supply to gtkdoc-mkdb.
32 # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
33 MKDB_OPTIONS=--xml-mode --output-format=xml
34
35 # Extra options to supply to gtkdoc-mktmpl
36 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
37 MKTMPL_OPTIONS=
38
39 # Extra options to supply to gtkdoc-mkhtml
40 MKHTML_OPTIONS=
41
42 # Extra options to supply to gtkdoc-fixref. Not normally needed.
43 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
44 FIXXREF_OPTIONS=
45
46 # Used for dependencies. The docs will be rebuilt if any of these change.
47 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
48 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
49 HFILE_GLOB =                                                            \
50         $(top_srcdir)/node-startup-controller/*.h                       \
51         $(top_srcdir)/common/*.h
52 CFILE_GLOB =                                                            \
53         $(top_srcdir)/node-startup-controller/*.c                       \
54         $(top_srcdir)/common/*.c                                        \
55         $(top_srcdir)/legacy-app-handler/*.c
56
57 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
58 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
59 EXTRA_HFILES=
60
61 # Header files or dirs to ignore when scanning. Use base file/dir names
62 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
63 IGNORE_HFILES=
64
65 # Images to copy into HTML directory.
66 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
67 HTML_IMAGES=
68
69 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
70 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
71 content_files =                                                         \
72         about.xml                                                       \
73         building.xml                                                    \
74         functional-scope.xml                                            \
75         legacy-app-handler.xml                                          \
76         public-interfaces.xml                                           \
77         software-architecture.xml                                       \
78         test-nsm-dummy.xml                                              \
79         test-test-environment-setup.xml                                 \
80         test-luc-management.xml                                         \
81         test-legacy-app-handling.xml                                    \
82         test-target-startup-monitoring.xml                              \
83         version.xml
84
85 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
86 # These files must be listed here *and* in content_files
87 # e.g. expand_content_files=running.sgml
88 expand_content_files=
89
90 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
91 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
92 # signals and properties.
93 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
94 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
95 GTKDOC_CFLAGS =                                                         \
96         -I$(top_srcdir)                                                 \
97         -I$(top_builddir)                                               \
98         $(DLT_CFLAGS)                                                   \
99         $(GIO_CFLAGS)                                                   \
100         $(GIO_UNIX_CFLAGS)                                              \
101         $(GLIB_CFLAGS)                                                  \
102         $(PLATFORM_CFLAGS)                                              \
103         $(PLATFORM_CPPFLAGS)                                            \
104         $(SYSTEMD_DAEMON_CFLAGS)
105
106 GTKDOC_LIBS =                                                           \
107         $(DLT_LIBS)                                                     \
108         $(GIO_LIBS)                                                     \
109         $(GIO_UNIX_LIBS)                                                \
110         $(GLIB_LIBS)                                                    \
111         $(SYSTEMD_DAEMON_LIBS)                                          \
112         $(top_builddir)/common/libcommon.la
113
114 # This includes the standard gtk-doc make rules, copied by gtkdocize.
115 # include $(top_srcdir)/gtk-doc.make
116
117 # Other files to distribute
118 # e.g. EXTRA_DIST += version.xml.in
119 EXTRA_DIST =                                                            \
120         node-startup-controller.types                                   \
121         version.xml.in
122
123 # Files not to distribute
124 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
125 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
126 DISTCLEANFILES = $(DOC_MODULE)-sections.txt
127
128 # Comment this out if you want 'make check' to test you doc status
129 # and run some sanity checks
130 if ENABLE_GTK_DOC
131 TESTS_ENVIRONMENT = cd $(srcdir) && \
132   DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
133   SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
134 #TESTS = $(GTKDOC_CHECK)
135 endif
136
137 -include $(top_srcdir)/git.mk
138
139 # Required for make distcheck
140 dist-hook: all