1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/Makefile.decl
6 # The name of the module.
9 # The top-level SGML file.
10 DOC_MAIN_SGML_FILE=glib-docs.sgml
12 # The directory containing the source code. Relative to $(srcdir)
13 DOC_SOURCE_DIR=../../../glib ../../../gmodule
15 # Extra options to supply to gtkdoc-scan
16 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR"
18 # Extra options to supply to gtkdoc-mkdb
19 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
21 # Used for dependencies
22 HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h
23 CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
47 gvariant-serialiser.h \
51 # Images to copy into HTML directory
53 file-name-encodings.png \
56 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
71 # Extra options to supply to gtkdoc-fixref
74 # include common portion ...
75 include $(top_srcdir)/gtk-doc.make
77 # Other files to distribute
79 file-name-encodings.png \
80 file-name-encodings.sxd \
86 ########################################################################
96 @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
98 dist-local-check-mans-enabled:
99 if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
104 echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
105 echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
107 dist-local-check-mans-enabled:
108 echo "*** --enable-man must be used in order to make dist"
113 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
115 EXTRA_DIST += $(man_MANS)
117 dist-hook-local: dist-local-check-mans-enabled glib-docs-clean all-local
119 glib-docs-clean: clean
120 cd $(srcdir) && rm -rf xml html