1 ## Process this file with automake to produce Makefile.in
3 # The name of the module.
6 # The top-level SGML file.
7 DOC_MAIN_SGML_FILE=gobject-docs.sgml
9 # Extra options to supply to gtkdoc-scan
12 # The directory containing the source code. Relative to $(srcdir)
13 DOC_SOURCE_DIR=../../../gobject
15 HFILE_GLOB=$(top_srcdir)/gobject/*.h
16 CFILE_GLOB=$(top_srcdir)/gobject/*.c
18 # CFLAGS and LDFLAGS for compiling scan program. Only needed
19 # if $(DOC_MODULE).types is non-empty.
23 -I$(top_srcdir)/glib \
25 -I$(top_builddir)/glib \
28 $(top_builddir)/glib/libglib-2.0.la \
29 $(top_builddir)/gobject/libgobject-2.0.la
31 # Extra options to supply to gtkdoc-mkdb
34 # Images to copy into HTML directory
37 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
38 content_files = version.xml \
43 # Extra options to supply to gtkdoc-fixref
44 FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html
46 include $(top_srcdir)/gtk-doc.make
48 # Other files to distribute
53 ########################################################################
55 man_MANS = glib-mkenums.1 glib-genmarshal.1 gobject-query.1
60 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
64 BUILT_EXTRA_DIST = $(man_MANS)
66 dist-hook-local: $(BUILT_EXTRA_DIST)
67 files='$(BUILT_EXTRA_DIST)'; \
68 for f in $$files; do \
69 if test -f $$f; then d=.; else d=$(srcdir); fi; \
70 cp $$d/$$f $(distdir) || exit 1; done