Blame apidoc/Makefile.am

rpm-build 0fba15
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
rpm-build 0fba15
#
rpm-build 0fba15
# SPDX-License-Identifier: LGPL-2.0+
rpm-build 0fba15
#
rpm-build 0fba15
# This library is free software; you can redistribute it and/or
rpm-build 0fba15
# modify it under the terms of the GNU Lesser General Public
rpm-build 0fba15
# License as published by the Free Software Foundation; either
rpm-build 0fba15
# version 2 of the License, or (at your option) any later version.
rpm-build 0fba15
#
rpm-build 0fba15
# This library is distributed in the hope that it will be useful,
rpm-build 0fba15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 0fba15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 0fba15
# Lesser General Public License for more details.
rpm-build 0fba15
#
rpm-build 0fba15
# You should have received a copy of the GNU Lesser General Public
rpm-build 0fba15
# License along with this library; if not, write to the
rpm-build 0fba15
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
rpm-build 0fba15
# Boston, MA 02111-1307, USA.
rpm-build 0fba15
rpm-build 0fba15
abs_top_builddir = @abs_top_builddir@
rpm-build 0fba15
rpm-build 0fba15
include ../Makefile-libostree-defines.am
rpm-build 0fba15
rpm-build 0fba15
NULL =
rpm-build 0fba15
rpm-build 0fba15
# We require automake 1.6 at least.
rpm-build 0fba15
AUTOMAKE_OPTIONS = 1.6
rpm-build 0fba15
rpm-build 0fba15
# The name of the module, e.g. 'glib'.
rpm-build 0fba15
DOC_MODULE=ostree
rpm-build 0fba15
rpm-build 0fba15
# The top-level SGML file. You can change this if you want to.
rpm-build 0fba15
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
rpm-build 0fba15
rpm-build 0fba15
# The directory containing the source code. Relative to $(srcdir).
rpm-build 0fba15
# gtk-doc will search all .c & .h files beneath here for inline comments
rpm-build 0fba15
# documenting the functions and macros.
rpm-build 0fba15
# e.g. DOC_SOURCE_DIR=../../../gtk
rpm-build 0fba15
DOC_SOURCE_DIR=$(top_srcdir)/src/libostree
rpm-build 0fba15
rpm-build 0fba15
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
rpm-build 0fba15
SCANGOBJ_OPTIONS= --version
rpm-build 0fba15
rpm-build 0fba15
# Extra options to supply to gtkdoc-scan.
rpm-build 0fba15
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
rpm-build 0fba15
SCAN_OPTIONS= --rebuild-types
rpm-build 0fba15
rpm-build 0fba15
# Extra options to supply to gtkdoc-mkdb.
rpm-build 0fba15
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
rpm-build 0fba15
MKDB_OPTIONS=--sgml-mode --output-format=xml
rpm-build 0fba15
rpm-build 0fba15
# Extra options to supply to gtkdoc-mktmpl
rpm-build 0fba15
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
rpm-build 0fba15
MKTMPL_OPTIONS=
rpm-build 0fba15
rpm-build 0fba15
# MKHTML_OPTIONS=--path="$(builddir)/html $(srcdir)/html"
rpm-build 0fba15
rpm-build 0fba15
# Extra options to supply to gtkdoc-fixref. Not normally needed.
rpm-build 0fba15
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
rpm-build 0fba15
FIXXREF_OPTIONS=
rpm-build 0fba15
rpm-build 0fba15
# Used for dependencies. The docs will be rebuilt if any of these change.
rpm-build 0fba15
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
rpm-build 0fba15
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
rpm-build 0fba15
HFILE_GLOB=$(addprefix $(top_srcdir)/,$(libostree_public_headers)) $(addprefix $(top_builddir)/,$(libostree_public_built_headers))
rpm-build 0fba15
CFILE_GLOB=$(top_srcdir)/src/libostree/*.c
rpm-build 0fba15
rpm-build 0fba15
# Header files to ignore when scanning.
rpm-build 0fba15
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
rpm-build 0fba15
IGNORE_HFILES= \
rpm-build 0fba15
	bupsplit.h \
rpm-build 0fba15
	ostree-bootloader.h \
rpm-build 0fba15
	ostree-bootloader-grub2.h \
rpm-build 0fba15
	ostree-bootloader-syslinux.h \
rpm-build 0fba15
	ostree-bootloader-uboot.h \
rpm-build 0fba15
	ostree-cmdprivate.h \
rpm-build 0fba15
	ostree-core-private.h \
rpm-build 0fba15
	ostree-fetcher.h \
rpm-build 0fba15
	ostree-gpg-verifier.h \
rpm-build 0fba15
	ostree-gpg-verify-result-private.h \
rpm-build 0fba15
	ostree-libarchive-input-stream.h \
rpm-build 0fba15
	ostree-lzma-compressor.h \
rpm-build 0fba15
	ostree-lzma-decompressor.h \
rpm-build 0fba15
	ostree-metalink.h \
rpm-build 0fba15
	ostree-repo-file-enumerator.h \
rpm-build 0fba15
	ostree-repo-private.h \
rpm-build 0fba15
	ostree-repo-pull-private.h \
rpm-build 0fba15
	ostree-repo-static-delta-private.h \
rpm-build 0fba15
	ostree-sysroot-private.h \
rpm-build 0fba15
	ostree-tls-cert-interaction.h \
rpm-build 0fba15
	$(NULL)
rpm-build 0fba15
rpm-build 0fba15
# Images to copy into HTML directory.
rpm-build 0fba15
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
rpm-build 0fba15
HTML_IMAGES=
rpm-build 0fba15
rpm-build 0fba15
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
rpm-build 0fba15
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
rpm-build 0fba15
content_files= \
rpm-build 0fba15
	$(NULL)
rpm-build 0fba15
rpm-build 0fba15
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
rpm-build 0fba15
# These files must be listed here *and* in content_files
rpm-build 0fba15
# e.g. expand_content_files=running.sgml
rpm-build 0fba15
expand_content_files= \
rpm-build 0fba15
	version.xml \
rpm-build 0fba15
	$(NULL)
rpm-build 0fba15
rpm-build 0fba15
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
rpm-build 0fba15
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
rpm-build 0fba15
# signals and properties.
rpm-build 0fba15
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
rpm-build 0fba15
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
rpm-build 0fba15
GTKDOC_LIBS=
rpm-build 0fba15
rpm-build 0fba15
version.xml:
rpm-build 0fba15
	echo -n $(VERSION) > "$@"
rpm-build 0fba15
rpm-build 0fba15
# This includes the standard gtk-doc make rules, copied by gtkdocize.
rpm-build 0fba15
include $(top_srcdir)/gtk-doc.make
rpm-build 0fba15
rpm-build 0fba15
EXTRA_DIST += \
rpm-build 0fba15
	version.xml \
rpm-build 0fba15
	ostree-sections.txt \
rpm-build 0fba15
	ostree-experimental-sections.txt \
rpm-build 0fba15
	$(NULL)
rpm-build 0fba15
rpm-build 0fba15
-include $(top_srcdir)/git.mk