1999-08-16 19:58:30 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
2008-06-24 22:29:24 +02:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2008-06-22 18:34:30 +02:00
|
|
|
|
2003-03-04 11:10:48 +01:00
|
|
|
AUTOMAKE_OPTIONS = 1.6
|
1999-08-16 19:58:30 +02:00
|
|
|
|
|
|
|
# The name of the module.
|
|
|
|
DOC_MODULE=glib
|
|
|
|
|
|
|
|
# The top-level SGML file.
|
|
|
|
DOC_MAIN_SGML_FILE=glib-docs.sgml
|
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
2010-07-12 21:30:26 +02:00
|
|
|
DOC_SOURCE_DIR=../../../glib ../../../gmodule
|
2008-06-22 18:34:30 +02:00
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# Extra options to supply to gtkdoc-scan
|
2009-01-23 16:10:31 +01:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR"
|
2001-02-12 18:43:44 +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
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# Used for dependencies
|
2011-06-23 16:08:46 +02:00
|
|
|
HFILE_GLOB=$(addprefix $(top_srcdir)/glib/,$(shell cat $(top_builddir)/glib/glib-public-headers.txt)) $(top_srcdir)/gmodule/*.h
|
2001-06-26 18:01:21 +02:00
|
|
|
CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
|
2001-02-12 18:43:44 +01:00
|
|
|
|
2011-07-25 18:50:45 +02:00
|
|
|
# Ignore some private headers
|
|
|
|
IGNORE_HFILES = gwakeup.h
|
|
|
|
|
2001-02-12 18:43:44 +01:00
|
|
|
# Images to copy into HTML directory
|
|
|
|
HTML_IMAGES = \
|
2004-06-16 02:20:54 +02:00
|
|
|
file-name-encodings.png \
|
2001-02-12 18:43:44 +01:00
|
|
|
mainloop-states.gif
|
|
|
|
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
2002-01-18 00:06:12 +01:00
|
|
|
content_files = \
|
2003-10-24 00:42:31 +02:00
|
|
|
cross.sgml \
|
2002-01-18 00:06:12 +01:00
|
|
|
running.sgml \
|
|
|
|
building.sgml \
|
2002-11-26 15:09:00 +01:00
|
|
|
changes.sgml \
|
2002-01-18 00:06:12 +01:00
|
|
|
compiling.sgml \
|
2002-11-23 02:37:17 +01:00
|
|
|
resources.sgml \
|
2007-03-15 14:01:31 +01:00
|
|
|
regex-syntax.sgml \
|
2003-06-18 01:08:37 +02:00
|
|
|
version.xml \
|
2008-06-12 08:20:04 +02:00
|
|
|
glib-gettextize.xml \
|
|
|
|
gtester.xml \
|
2010-03-08 17:25:37 +01:00
|
|
|
gtester-report.xml \
|
2011-02-11 16:27:44 +01:00
|
|
|
gvariant-varargs.xml \
|
|
|
|
gvariant-text.xml
|
2002-11-23 02:37:17 +01:00
|
|
|
|
2003-03-04 11:10:48 +01:00
|
|
|
# Extra options to supply to gtkdoc-fixref
|
2011-07-11 05:55:52 +02:00
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../gobject/html --extra-dir=$(srcdir)/../gio/html
|
2003-03-04 11:10:48 +01:00
|
|
|
|
2003-10-24 00:42:31 +02:00
|
|
|
# include common portion ...
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
|
|
|
# Other files to distribute
|
|
|
|
EXTRA_DIST += \
|
2004-06-16 02:20:54 +02:00
|
|
|
file-name-encodings.png \
|
|
|
|
file-name-encodings.sxd \
|
2003-10-24 00:42:31 +02:00
|
|
|
mainloop-states.fig \
|
|
|
|
mainloop-states.png \
|
|
|
|
mainloop-states.eps \
|
|
|
|
version.xml.in
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
|
2008-06-22 18:34:30 +02:00
|
|
|
man_MANS = \
|
2008-06-12 08:20:04 +02:00
|
|
|
glib-gettextize.1 \
|
|
|
|
gtester.1 \
|
|
|
|
gtester-report.1
|
2010-05-22 04:28:42 +02:00
|
|
|
|
2003-06-18 01:08:37 +02:00
|
|
|
if ENABLE_MAN
|
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
.xml.1:
|
2010-05-25 04:35:33 +02:00
|
|
|
@XSLTPROC@ -nonet 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)
|
2003-10-24 00:42:31 +02:00
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
dist-hook-local: dist-local-check-mans-enabled glib-docs-clean all-local
|
2000-09-06 02:04:49 +02:00
|
|
|
|
2010-05-22 04:28:42 +02:00
|
|
|
glib-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|