Skip to content
Snippets Groups Projects
Makefile.am 1.64 KiB
Newer Older
# The name of the module.
DOC_MODULE=thunarx

# The top-level SGML file.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="EXO_DISABLE_DEPRECATED"

# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=$(top_srcdir)/thunarx

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--xml-mode --output-format=xml

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

# Used for dependencies

# Header files to ignore when scanning
IGNORE_HFILES=thunarx-visibility.h

# Extra files to add when scanning (relative to $srcdir)
EXTRA_HFILES=

# Images to copy into HTML directory
HTML_IMAGES =								\
	$(srcdir)/images/abstraction.png				\
	$(srcdir)/images/bulk-rename.png				\
	$(srcdir)/images/menu-provider.png				\
	$(srcdir)/images/say-hello.png

# Extra SGML files that are included by DOC_MAIN_SGML_FILE

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
	-I$(top_srcdir) 						\
	-I$(top_builddir) 						\
	$(GTK_CFLAGS)							\
	$(GTK_DOC_EXTRA_CFLAGS)
	$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la    \
	$(GTK_LIBS)

include $(top_srcdir)/gtk-doc.make

$(top_builddir)/docs/reference/$(DOC_MODULE)-docs.xml: $(DOC_MODULE)-docs.xml.in
	$(AM_V_GEN) $(SED) -e "s,\@COPYRIGHT_YEAR\@,@COPYRIGHT_YEAR@,g" $< >$@

Gaël Bonithon's avatar
Gaël Bonithon committed
EXTRA_DIST += \
	gtkdocentities.ent.in \
	$(DOC_MODULE)-docs.xml.in \
Gaël Bonithon's avatar
Gaël Bonithon committed
	meson.build \
	$(NULL)

DISTCLEANFILES = \
	$(DOC_MODULE)-docs.xml \
	$(NULL)

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: