Add GRegex for regular expression matching. (#50075)
[platform/upstream/glib.git] / docs / reference / glib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 AUTOMAKE_OPTIONS = 1.6
3
4 # The name of the module.
5 DOC_MODULE=glib
6
7 # The top-level SGML file.
8 DOC_MAIN_SGML_FILE=glib-docs.sgml
9
10 # Extra options to supply to gtkdoc-scan
11 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
12
13 # The directory containing the source code. Relative to $(srcdir)
14 DOC_SOURCE_DIR=../../..
15
16 # Used for dependencies
17 HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h
18 CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
19
20 # Headers to ignore
21 IGNORE_HFILES=                  \
22         build                   \
23         gobject                 \
24         config.h                \
25         gdatasetprivate.h       \
26         glibintl.h              \
27         gbsearcharray.h         \
28         gmoduleconf.h           \
29         gunibreak.h             \
30         gunicomp.h              \
31         gunidecomp.h            \
32         gunichartables.h        \
33         glibconfig-sysdefs.h    \
34         gdebug.h                \
35         gprintfint.h            \
36         galias.h                \
37         gmirroringtable.h       \
38         gscripttable.h          \
39         glib-mirroring-tab      \
40         gnulib                  \
41         pcre                    \
42         update-pcre
43
44 # Extra options to supply to gtkdoc-mkdb
45 MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files=trio
46
47 # Images to copy into HTML directory
48 HTML_IMAGES =                           \
49         file-name-encodings.png         \
50         mainloop-states.gif
51
52 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
53 content_files =                         \
54         cross.sgml                      \
55         running.sgml                    \
56         building.sgml                   \
57         changes.sgml                    \
58         compiling.sgml                  \
59         resources.sgml                  \
60         regex-syntax.sgml               \
61         version.xml                     \
62         glib-gettextize.xml
63
64 # Extra options to supply to gtkdoc-fixref
65 FIXXREF_OPTIONS=
66
67 # include common portion ...
68 include $(top_srcdir)/gtk-doc.make
69
70 # Other files to distribute
71 EXTRA_DIST +=                           \
72         file-name-encodings.png         \
73         file-name-encodings.sxd         \
74         mainloop-states.fig             \
75         mainloop-states.png             \
76         mainloop-states.eps             \
77         version.xml.in
78
79 ########################################################################
80
81 man_MANS = glib-gettextize.1 
82
83 if ENABLE_MAN
84
85 %.1 : %.xml 
86         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
87
88 endif
89
90 BUILT_EXTRA_DIST = $(man_MANS)
91
92 dist-hook-local: $(BUILT_EXTRA_DIST)
93         files='$(BUILT_EXTRA_DIST)';                            \
94         for f in $$files; do                                    \
95           if test -f $$f; then d=.; else d=$(srcdir); fi;       \
96           cp $$d/$$f $(distdir) || exit 1; done
97