1999-08-16 17:58:30 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
2008-06-22 16:34:30 +00:00
|
|
|
|
2003-03-04 10:10:48 +00:00
|
|
|
AUTOMAKE_OPTIONS = 1.6
|
1999-08-16 17:58:30 +00:00
|
|
|
|
|
|
|
# The name of the module.
|
|
|
|
DOC_MODULE=glib
|
|
|
|
|
|
|
|
# The top-level SGML file.
|
2012-04-22 21:56:07 +01:00
|
|
|
DOC_MAIN_SGML_FILE=glib-docs.xml
|
1999-08-16 17:58:30 +00:00
|
|
|
|
2008-06-22 16:34:30 +00:00
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
2015-11-02 09:36:47 -05:00
|
|
|
DOC_SOURCE_DIR = \
|
|
|
|
$(top_srcdir)/glib $(top_srcdir)/gmodule \
|
|
|
|
$(top_builddir)/glib $(top_builddir)/gmodule
|
2008-06-22 16:34:30 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
# Extra options to supply to gtkdoc-scan
|
2011-12-19 07:45:43 -05:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT"
|
2001-02-12 17:43:44 +00:00
|
|
|
|
2008-06-22 16:34:30 +00:00
|
|
|
# Extra options to supply to gtkdoc-mkdb
|
2014-02-09 02:07:26 -05:00
|
|
|
MKDB_OPTIONS=--output-format=xml --name-space=g
|
2000-09-07 16:36:56 +00:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
# Used for dependencies
|
2015-11-02 09:36:47 -05:00
|
|
|
HFILE_GLOB = \
|
|
|
|
$(top_srcdir)/glib/*.h \
|
|
|
|
$(top_srcdir)/gmodule/*.h \
|
|
|
|
$(top_builddir)/glib/glibconfig.h
|
|
|
|
CFILE_GLOB= $(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
|
2001-02-12 17:43:44 +00:00
|
|
|
|
2011-07-25 18:50:45 +02:00
|
|
|
# Ignore some private headers
|
2011-09-05 17:54:52 -04:00
|
|
|
IGNORE_HFILES = \
|
2011-10-06 12:01:53 -04:00
|
|
|
gallocator.h \
|
2011-09-05 17:54:52 -04:00
|
|
|
gdatasetprivate.h \
|
|
|
|
glibintl.h \
|
|
|
|
gbsearcharray.h \
|
2011-10-06 12:01:53 -04:00
|
|
|
glib-private.h \
|
2011-09-05 17:54:52 -04:00
|
|
|
gmoduleconf.h \
|
2011-10-06 12:01:53 -04:00
|
|
|
gthreadprivate.h \
|
2011-09-05 17:54:52 -04:00
|
|
|
gunibreak.h \
|
|
|
|
gunicomp.h \
|
|
|
|
gunidecomp.h \
|
|
|
|
gunichartables.h \
|
2011-10-19 15:07:22 -04:00
|
|
|
glib_probes.h \
|
2011-09-05 17:54:52 -04:00
|
|
|
glib_trace.h \
|
|
|
|
libcharset.h \
|
|
|
|
gdebug.h \
|
|
|
|
gprintfint.h \
|
|
|
|
gmirroringtable.h \
|
|
|
|
gscripttable.h \
|
|
|
|
glib-mirroring-tab \
|
|
|
|
gnulib \
|
|
|
|
pcre \
|
|
|
|
update-pcre \
|
2011-11-11 17:08:26 +01:00
|
|
|
gbytesprivate.h \
|
2011-09-05 17:54:52 -04:00
|
|
|
gvariant-internal.h \
|
|
|
|
gvariant-serialiser.h \
|
|
|
|
gvariant-core.h \
|
|
|
|
gvarianttypeinfo.h \
|
2014-11-29 08:39:24 -05:00
|
|
|
gwakeup.h \
|
|
|
|
gtranslit-data.h \
|
|
|
|
glib-init.h \
|
|
|
|
gconstructor.h \
|
|
|
|
valgrind.h
|
2011-07-25 18:50:45 +02:00
|
|
|
|
2001-02-12 17:43:44 +00:00
|
|
|
# Images to copy into HTML directory
|
2014-01-19 23:49:12 -05:00
|
|
|
HTML_IMAGES = \
|
|
|
|
file-name-encodings.png \
|
|
|
|
mainloop-states.gif \
|
|
|
|
Sorted_binary_tree_breadth-first_traversal.svg \
|
|
|
|
Sorted_binary_tree_inorder.svg \
|
|
|
|
Sorted_binary_tree_postorder.svg \
|
|
|
|
Sorted_binary_tree_preorder.svg
|
2001-02-12 17:43:44 +00:00
|
|
|
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
2002-01-17 23:06:12 +00:00
|
|
|
content_files = \
|
2012-04-22 21:56:07 +01:00
|
|
|
cross.xml \
|
|
|
|
running.xml \
|
|
|
|
building.xml \
|
|
|
|
changes.xml \
|
|
|
|
compiling.xml \
|
2012-09-14 19:40:24 -04:00
|
|
|
programming.xml \
|
2012-04-22 21:56:07 +01:00
|
|
|
resources.xml \
|
|
|
|
regex-syntax.xml \
|
2003-06-17 23:08:37 +00:00
|
|
|
version.xml \
|
2008-06-12 06:20:04 +00:00
|
|
|
glib-gettextize.xml \
|
|
|
|
gtester.xml \
|
2010-03-08 11:25:37 -05:00
|
|
|
gtester-report.xml \
|
2011-02-11 10:27:44 -05:00
|
|
|
gvariant-varargs.xml \
|
|
|
|
gvariant-text.xml
|
2002-11-23 01:37:17 +00:00
|
|
|
|
2012-02-27 07:16:11 -05:00
|
|
|
expand_content_files = \
|
2012-04-22 21:56:07 +01:00
|
|
|
compiling.xml
|
2012-02-27 07:16:11 -05:00
|
|
|
|
2003-03-04 10:10:48 +00:00
|
|
|
# Extra options to supply to gtkdoc-fixref
|
2011-07-10 23:55:52 -04:00
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
|
2003-03-04 10:10:48 +00:00
|
|
|
|
2003-10-23 22:42:31 +00:00
|
|
|
# include common portion ...
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
|
|
|
# Other files to distribute
|
|
|
|
EXTRA_DIST += \
|
2004-06-16 00:20:54 +00:00
|
|
|
file-name-encodings.png \
|
|
|
|
file-name-encodings.sxd \
|
2003-10-23 22:42:31 +00:00
|
|
|
mainloop-states.fig \
|
|
|
|
mainloop-states.png \
|
|
|
|
mainloop-states.eps \
|
2014-01-19 23:49:12 -05:00
|
|
|
Sorted_binary_tree_breadth-first_traversal.svg \
|
|
|
|
Sorted_binary_tree_inorder.svg \
|
|
|
|
Sorted_binary_tree_postorder.svg \
|
|
|
|
Sorted_binary_tree_preorder.svg \
|
2003-10-23 22:42:31 +00:00
|
|
|
version.xml.in
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
|
2012-08-16 18:31:02 -04:00
|
|
|
man_MANS =
|
|
|
|
|
|
|
|
if ENABLE_MAN
|
|
|
|
|
|
|
|
man_MANS += \
|
2008-06-12 06:20:04 +00:00
|
|
|
glib-gettextize.1 \
|
|
|
|
gtester.1 \
|
|
|
|
gtester-report.1
|
2010-05-21 22:28:42 -04: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-21 22:28:42 -04: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-21 22:28:42 -04:00
|
|
|
|
2003-06-17 23:08:37 +00:00
|
|
|
endif
|
|
|
|
|
2012-08-25 17:13:43 -04:00
|
|
|
CLEANFILES ?=
|
2012-08-08 09:57:48 -04:00
|
|
|
CLEANFILES += $(man_MANS)
|
2010-05-21 22:28:42 -04:00
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
2003-10-23 22:42:31 +00:00
|
|
|
|
2012-08-08 10:01:47 -04:00
|
|
|
dist-hook-local: all-local
|
2000-09-06 00:04:49 +00:00
|
|
|
|
2010-05-21 22:28:42 -04:00
|
|
|
glib-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|