d99b6b186db355eadf36dd7db2147b9eb319feb8
[gnome.gobject-introspection] / docs / reference / Makefile.am
1 AUTOMAKE_OPTIONS = 1.6
2
3 # The name of the module.
4 DOC_MODULE=gi
5
6 # The top-level SGML file.
7 DOC_MAIN_SGML_FILE=gi-docs.sgml
8
9 # The directory containing the source code. Relative to $(srcdir)
10 DOC_SOURCE_DIR=../../girepository
11
12 # Extra options to supply to gtkdoc-scan
13 SCAN_OPTIONS=
14
15 # Extra options to supply to gtkdoc-mkdb
16 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
17
18 # Used for dependencies
19 HFILE_GLOB=$(top_srcdir)/girepository/*.h
20 CFILE_GLOB=$(top_srcdir)/girepository/*.c
21
22 # Headers to ignore
23 IGNORE_HFILES=
24
25 INCLUDES=$(GIREPO_CFLAGS) -I$(top_srcdir)
26 GTKDOC_LIBS = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository-1.0.la $(top_builddir)/girepository/libgirepository-parser.la
27
28 # Extra options to supply to gtkdoc-fixref
29 FIXXREF_OPTIONS=
30
31 # include common portion ...
32 include $(top_srcdir)/gtk-doc.make
33
34 # Other files to distribute
35 EXTRA_DIST += version.xml.in
36
37 ########################################################################
38
39 dist-hook-local: $(BUILT_EXTRA_DIST)
40         files='$(BUILT_EXTRA_DIST)';                            \
41         for f in $$files; do                                    \
42           if test -f $$f; then d=.; else d=$(srcdir); fi;       \
43           cp $$d/$$f $(distdir) || exit 1; done
44