2000-09-06 06:32:45 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
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)
|
2015-11-02 15:36:47 +01:00
|
|
|
DOC_SOURCE_DIR =$(top_srcdir)/gobject $(top_builddir)/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
|
2014-02-09 08:07:26 +01:00
|
|
|
MKDB_OPTIONS=--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 \
|
2015-02-05 15:24:27 +01:00
|
|
|
gatomicarray.h \
|
2011-09-05 23:54:52 +02:00
|
|
|
gobject_trace.h \
|
2015-02-05 15:24:27 +01:00
|
|
|
gtype-private.h
|
2011-09-05 23:54:52 +02:00
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
|
|
# if $(DOC_MODULE).types is non-empty.
|
2013-02-03 04:54:15 +01:00
|
|
|
AM_CPPFLAGS = \
|
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)
|
2013-02-03 04:54:15 +01:00
|
|
|
|
|
|
|
GTKDOC_LIBS = \
|
2003-10-17 00:24:57 +02:00
|
|
|
$(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
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
|
2012-08-17 00:31:02 +02:00
|
|
|
man_MANS =
|
|
|
|
|
|
|
|
if ENABLE_MAN
|
|
|
|
|
|
|
|
man_MANS += \
|
2010-05-22 04:28:42 +02:00
|
|
|
glib-mkenums.1 \
|
|
|
|
glib-genmarshal.1 \
|
|
|
|
gobject-query.1
|
2003-06-18 01:08:37 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
2003-06-18 01:08:37 +02:00
|
|
|
endif
|
|
|
|
|
2012-08-25 23:13:43 +02:00
|
|
|
CLEANFILES ?=
|
2012-08-08 15:57:48 +02:00
|
|
|
CLEANFILES += $(man_MANS)
|
2010-05-22 04:28:42 +02:00
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
|
|
|
|
2012-08-08 16:01:47 +02:00
|
|
|
dist-hook-local: 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
|