3 # The name of the module.
6 # The top-level SGML file.
7 DOC_MAIN_SGML_FILE=gi-docs.sgml
9 # The directory containing the source code. Relative to $(srcdir)
10 DOC_SOURCE_DIR=../../girepository
12 # Extra options to supply to gtkdoc-scan
15 # Extra options to supply to gtkdoc-mkdb
16 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
18 # Used for dependencies
19 HFILE_GLOB=$(top_srcdir)/girepository/*.h
20 CFILE_GLOB=$(top_srcdir)/girepository/*.c
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
28 # Extra options to supply to gtkdoc-fixref
31 # include common portion ...
32 include $(top_srcdir)/gtk-doc.make
34 # Other files to distribute
35 EXTRA_DIST += version.xml.in
37 ########################################################################
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