Add GAppInfoMonitor
[platform/upstream/glib.git] / docs / reference / glib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = 1.6
4
5 # The name of the module.
6 DOC_MODULE=glib
7
8 # The top-level SGML file.
9 DOC_MAIN_SGML_FILE=glib-docs.xml
10
11 # The directory containing the source code. Relative to $(srcdir)
12 DOC_SOURCE_DIR=$(top_srcdir)/glib $(top_srcdir)/gmodule
13
14 # Extra options to supply to gtkdoc-scan
15 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT"
16
17 # Extra options to supply to gtkdoc-mkdb
18 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
19
20 # Used for dependencies
21 HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h
22 CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
23
24 # Ignore some private headers
25 IGNORE_HFILES = \
26         gallocator.h            \
27         gdatasetprivate.h       \
28         glibintl.h              \
29         gbsearcharray.h         \
30         glib-private.h          \
31         gmoduleconf.h           \
32         gthreadprivate.h        \
33         gunibreak.h             \
34         gunicomp.h              \
35         gunidecomp.h            \
36         gunichartables.h        \
37         glib_probes.h           \
38         glib_trace.h            \
39         libcharset.h            \
40         gdebug.h                \
41         gprintfint.h            \
42         gmirroringtable.h       \
43         gscripttable.h          \
44         glib-mirroring-tab      \
45         gnulib                  \
46         pcre                    \
47         update-pcre             \
48         gbytesprivate.h         \
49         gvariant-internal.h     \
50         gvariant-serialiser.h   \
51         gvariant-core.h         \
52         gvarianttypeinfo.h      \
53         gwakeup.h
54
55 # Images to copy into HTML directory
56 HTML_IMAGES =                           \
57         file-name-encodings.png         \
58         mainloop-states.gif
59
60 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
61 content_files =                         \
62         cross.xml                       \
63         running.xml                     \
64         building.xml                    \
65         changes.xml                     \
66         compiling.xml                   \
67         programming.xml                 \
68         resources.xml                   \
69         regex-syntax.xml                \
70         version.xml                     \
71         glib-gettextize.xml             \
72         gtester.xml                     \
73         gtester-report.xml              \
74         gvariant-varargs.xml            \
75         gvariant-text.xml
76
77 expand_content_files =                  \
78         compiling.xml
79
80 # Extra options to supply to gtkdoc-fixref
81 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
82
83 # include common portion ...
84 include $(top_srcdir)/gtk-doc.make
85
86 # Other files to distribute
87 EXTRA_DIST +=                           \
88         file-name-encodings.png         \
89         file-name-encodings.sxd         \
90         mainloop-states.fig             \
91         mainloop-states.png             \
92         mainloop-states.eps             \
93         version.xml.in
94
95 ########################################################################
96
97 man_MANS =
98
99 if ENABLE_MAN
100
101 man_MANS += \
102         glib-gettextize.1       \
103         gtester.1               \
104         gtester-report.1
105
106 XSLTPROC_FLAGS = \
107         --nonet \
108         --stringparam man.output.quietly 1 \
109         --stringparam funcsynopsis.style ansi \
110         --stringparam man.th.extra1.suppress 1 \
111         --stringparam man.authors.section.enabled 0 \
112         --stringparam man.copyright.section.enabled 0
113
114 .xml.1:
115         $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
116
117 endif
118
119 CLEANFILES ?=
120 CLEANFILES += $(man_MANS)
121
122 EXTRA_DIST += $(man_MANS)
123
124 dist-hook-local: all-local
125
126 glib-docs-clean: clean
127         cd $(srcdir) && rm -rf xml html