2000-09-06 06:32:45 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
2008-06-24 22:29:24 +02:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2000-09-06 06:32:45 +02:00
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
AUTOMAKE_OPTIONS = 1.6
|
|
|
|
|
2000-09-06 06:32:45 +02:00
|
|
|
# The name of the module.
|
|
|
|
DOC_MODULE=gobject
|
2001-03-07 21:11:09 +01:00
|
|
|
|
2000-09-06 06:32:45 +02:00
|
|
|
# The top-level SGML file.
|
2012-04-22 22:56:07 +02:00
|
|
|
DOC_MAIN_SGML_FILE=gobject-docs.xml
|
2001-03-07 21:11:09 +01:00
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
2011-10-21 15:40:56 +02:00
|
|
|
DOC_SOURCE_DIR=$(top_srcdir)/gobject
|
2008-06-22 18:34:30 +02:00
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# Extra options to supply to gtkdoc-scan
|
2008-06-22 18:34:30 +02:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
|
2011-12-19 13:45:43 +01:00
|
|
|
--ignore-decorators="G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT"
|
2001-03-07 21:11:09 +01:00
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
# Extra options to supply to gtkdoc-mkdb
|
2008-11-21 08:28:50 +01:00
|
|
|
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
|
2000-09-07 18:36:56 +02:00
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
# Used for dependencies
|
2011-09-05 23:54:52 +02:00
|
|
|
HFILE_GLOB=$(top_srcdir)/gobject/*.h
|
2001-02-12 18:43:44 +01:00
|
|
|
CFILE_GLOB=$(top_srcdir)/gobject/*.c
|
2001-03-07 21:11:09 +01:00
|
|
|
|
2011-09-05 23:54:52 +02:00
|
|
|
# Headers to ignore
|
|
|
|
IGNORE_HFILES = \
|
|
|
|
tests \
|
|
|
|
gobject_trace.h \
|
2012-07-03 21:40:35 +02:00
|
|
|
gtype-private.h \
|
2011-09-05 23:54:52 +02:00
|
|
|
gatomicarray.h
|
|
|
|
|
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
|
|
# if $(DOC_MODULE).types is non-empty.
|
2003-10-17 00:24:57 +02:00
|
|
|
INCLUDES = \
|
2003-10-24 00:42:31 +02:00
|
|
|
-I$(srcdir) \
|
2010-08-06 19:09:26 +02:00
|
|
|
$(gobject_INCLUDES) \
|
2003-10-17 00:24:57 +02:00
|
|
|
$(GLIB_DEBUG_FLAGS)
|
|
|
|
GTKDOC_LIBS = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la
|
2001-02-12 18:43:44 +01:00
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
# Images to copy into HTML directory
|
|
|
|
HTML_IMAGES = \
|
2010-09-23 17:41:57 +02:00
|
|
|
images/glue.png
|
2000-09-06 06:32:45 +02:00
|
|
|
|
2003-03-04 11:10:48 +01:00
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
2003-06-18 01:08:37 +02:00
|
|
|
content_files = version.xml \
|
|
|
|
glib-mkenums.xml \
|
|
|
|
glib-genmarshal.xml \
|
2005-04-22 12:27:37 +02:00
|
|
|
gobject-query.xml \
|
|
|
|
tut_gobject.xml \
|
|
|
|
tut_gsignal.xml \
|
|
|
|
tut_gtype.xml \
|
|
|
|
tut_howto.xml \
|
|
|
|
tut_intro.xml \
|
|
|
|
tut_tools.xml
|
|
|
|
|
2003-03-04 11:10:48 +01:00
|
|
|
# Extra options to supply to gtkdoc-fixref
|
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html
|
2000-09-06 17:01:07 +02:00
|
|
|
|
2003-10-24 00:42:31 +02:00
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
|
|
|
# Other files to distribute
|
|
|
|
EXTRA_DIST += \
|
|
|
|
gobject.cI \
|
|
|
|
version.xml.in
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
man_MANS = \
|
|
|
|
glib-mkenums.1 \
|
|
|
|
glib-genmarshal.1 \
|
|
|
|
gobject-query.1
|
2003-06-18 01:08:37 +02:00
|
|
|
|
|
|
|
if ENABLE_MAN
|
|
|
|
|
2012-08-03 00:33:34 +02:00
|
|
|
XSLTPROC_FLAGS = \
|
|
|
|
--nonet \
|
|
|
|
--stringparam man.output.quietly 1 \
|
|
|
|
--stringparam funcsynopsis.style ansi \
|
|
|
|
--stringparam man.th.extra1.suppress 1 \
|
|
|
|
--stringparam man.authors.section.enabled 0 \
|
|
|
|
--stringparam man.copyright.section.enabled 0
|
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
.xml.1:
|
2012-08-03 00:33:34 +02:00
|
|
|
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
2010-05-22 04:28:42 +02:00
|
|
|
|
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
$(man_MANS):
|
|
|
|
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
|
|
|
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
|
|
|
|
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
echo "*** --enable-man must be used in order to make dist"
|
|
|
|
false
|
2003-06-18 01:08:37 +02:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
|
|
|
|
2011-11-24 00:13:44 +01:00
|
|
|
dist-hook-local: dist-local-check-mans-enabled all-local
|
2003-06-18 01:08:37 +02:00
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
gobject-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|