Add g_object_add/remove_toggle_ref() functions to get notification when a
[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         gnulib
38
39 # Extra options to supply to gtkdoc-mkdb
40 MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files=trio
41
42 # Images to copy into HTML directory
43 HTML_IMAGES =                           \
44         file-name-encodings.png         \
45         mainloop-states.gif
46
47 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
48 content_files =                         \
49         cross.sgml                      \
50         running.sgml                    \
51         building.sgml                   \
52         changes.sgml                    \
53         compiling.sgml                  \
54         resources.sgml                  \
55         version.xml                     \
56         glib-gettextize.xml
57
58 # Extra options to supply to gtkdoc-fixref
59 FIXXREF_OPTIONS=
60
61 # include common portion ...
62 include $(top_srcdir)/gtk-doc.make
63
64 # Other files to distribute
65 EXTRA_DIST +=                           \
66         file-name-encodings.png         \
67         file-name-encodings.sxd         \
68         mainloop-states.fig             \
69         mainloop-states.png             \
70         mainloop-states.eps             \
71         version.xml.in
72
73 ########################################################################
74
75 man_MANS = glib-gettextize.1 
76
77 if ENABLE_MAN
78
79 %.1 : %.xml 
80         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
81
82 endif
83
84 BUILT_EXTRA_DIST = $(man_MANS)
85
86 dist-hook-local: $(BUILT_EXTRA_DIST)
87         files='$(BUILT_EXTRA_DIST)';                            \
88         for f in $$files; do                                    \
89           if test -f $$f; then d=.; else d=$(srcdir); fi;       \
90           cp $$d/$$f $(distdir) || exit 1; done
91