Ignore a missing newline at EOF for single line comments. (#83674, Sven
[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         glibintl.h              \
26         gbsearcharray.h         \
27         gmoduleconf.h           \
28         gunibreak.h             \
29         gunicomp.h              \
30         gunidecomp.h            \
31         gunichartables.h        \
32         glibconfig-sysdefs.h    \
33         gdebug.h                \
34         gprintfint.h            \
35         gnulib
36
37 # Extra options to supply to gtkdoc-mkdb
38 MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files=trio
39
40 # Images to copy into HTML directory
41 HTML_IMAGES =                           \
42         mainloop-states.gif
43
44 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
45 content_files =                         \
46         cross.sgml                      \
47         running.sgml                    \
48         building.sgml                   \
49         changes.sgml                    \
50         compiling.sgml                  \
51         resources.sgml                  \
52         version.xml                     \
53         glib-gettextize.xml
54
55 # Extra options to supply to gtkdoc-fixref
56 FIXXREF_OPTIONS=
57
58 # include common portion ...
59 include $(top_srcdir)/gtk-doc.make
60
61 # Other files to distribute
62 EXTRA_DIST +=                           \
63         mainloop-states.fig             \
64         mainloop-states.png             \
65         mainloop-states.eps             \
66         version.xml.in
67
68 ########################################################################
69
70 man_MANS = glib-gettextize.1 
71
72 if ENABLE_MAN
73
74 %.1 : %.xml 
75         @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
76
77 endif
78
79 BUILT_EXTRA_DIST = $(man_MANS)
80
81 dist-hook-local: $(BUILT_EXTRA_DIST)
82         files='$(BUILT_EXTRA_DIST)';                            \
83         for f in $$files; do                                    \
84           if test -f $$f; then d=.; else d=$(srcdir); fi;       \
85           cp $$d/$$f $(distdir) || exit 1; done
86