blob: 6c3384ca7747cef1659eb413d7859ee8af3819f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/Makefile.decl
AUTOMAKE_OPTIONS = 1.6
# The name of the module.
DOC_MODULE=glib
# The top-level SGML file.
DOC_MAIN_SGML_FILE=glib-docs.sgml
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../..
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR"
# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h
CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
# Headers to ignore
IGNORE_HFILES= \
build \
gobject \
gio \
config.h \
gdatasetprivate.h \
glibintl.h \
gbsearcharray.h \
gmoduleconf.h \
gunibreak.h \
gunicomp.h \
gunidecomp.h \
gunichartables.h \
glibconfig-sysdefs.h \
gdebug.h \
gprintfint.h \
galias.h \
gmirroringtable.h \
gscripttable.h \
glib-mirroring-tab \
gnulib \
pcre \
update-pcre \
gbuffer.h \
gvariant-internal.h \
gvariant-serialiser.h \
gvariant-core.h \
gvarianttypeinfo.h
# Images to copy into HTML directory
HTML_IMAGES = \
file-name-encodings.png \
mainloop-states.gif
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
content_files = \
cross.sgml \
running.sgml \
building.sgml \
changes.sgml \
compiling.sgml \
resources.sgml \
regex-syntax.sgml \
version.xml \
glib-gettextize.xml \
gtester.xml \
gtester-report.xml \
gvariant-varargs.xml
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
# include common portion ...
include $(top_srcdir)/gtk-doc.make
# Other files to distribute
EXTRA_DIST += \
file-name-encodings.png \
file-name-encodings.sxd \
mainloop-states.fig \
mainloop-states.png \
mainloop-states.eps \
version.xml.in
########################################################################
man_MANS = \
glib-gettextize.1 \
gtester.1 \
gtester-report.1
if ENABLE_MAN
.xml.1:
XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
dist-local-check-mans-enabled:
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
else
$(man_MANS):
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
dist-local-check-mans-enabled:
echo "*** --enable-man must be used in order to make dist"
false
endif
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
EXTRA_DIST += $(man_MANS)
dist-hook-local: dist-local-check-mans-enabled glib-docs-clean all-local
glib-docs-clean: clean
cd $(srcdir) && rm -rf xml html
|