Commit 8c970c64 authored by Moritz Lipp's avatar Moritz Lipp

Migrate to meson

parent 19d36801
Pipeline #161 failed with stage
in 0 seconds
Copyright (c) 2012-2014 pwmt.org
Copyright (c) 2014-2019 pwmt.org
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
......
# See LICENSE file for license and copyright information
include config.mk
include colors.mk
include common.mk
SOURCE = $(wildcard \
${PROJECT}/*.c \
${PROJECT}/**/*.c \
${PROJECT}/**/**/*.c)
OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
HEADERS = $(filter-out ${PROJECT}/version.h, \
$(filter-out ${PROJECT}/internal.h, \
$(filter-out ${PROJECT}/internal/*.h, \
$(filter-out ${PROJECT}/**/internal.h, \
$(filter-out ${PROJECT}/**/internal/*.h, \
$(wildcard \
${PROJECT}/*.h \
${PROJECT}/**/*.h \
${PROJECT}/**/**/*.h \
))))))
HEADERS_INSTALL = ${HEADERS} ${PROJECT}/version.h
ifneq (${WITH_MAGIC},0)
INCS += ${MAGIC_INC}
LIBS += ${MAGIC_LIB}
CPPFLAGS += -DWITH_MAGIC
endif
ifneq (${WITH_CAIRO},0)
INCS += ${CAIRO_INC}
LIBS += ${CAIRO_LIB}
CPPFLAGS += -DHAVE_CAIRO
endif
ifneq (${WITH_LIBFIU},0)
INCS += ${FIU_INC}
LIBS += ${FIU_LIB}
CPPFLAGS += -DFIU_ENABLE
endif
all: options ${PROJECT}
options:
ifeq "$(VERBOSE)" "1"
$(ECHO) ${PROJECT} build options:
$(ECHO) "CFLAGS = ${CFLAGS}"
$(ECHO) "LDFLAGS = ${LDFLAGS}"
$(ECHO) "DFLAGS = ${DFLAGS}"
$(ECHO) "CC = ${CC}"
endif
${PROJECT}/version.h: ${PROJECT}/version.h.in config.mk
$(QUIET)sed 's/ZVMAJOR/${LIBZATHURA_VERSION_MAJOR}/' < ${PROJECT}/version.h.in | \
sed 's/ZVMINOR/${LIBZATHURA_VERSION_MINOR}/' | \
sed 's/ZVREV/${LIBZATHURA_VERSION_REV}/' | \
sed 's/ZVAPI/${LIBZATHURA_VERSION_API}/' | \
sed 's/ZVABI/${LIBZATHURA_VERSION_ABI}/' > ${PROJECT}/version.h
# release build
${OBJECTS}: config.mk ${PROJECT}/version.h
${BUILDDIR_RELEASE}/%.o: %.c
$(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${PROJECT}: ${PROJECT}/version.h static shared
static: ${BUILDDIR_RELEASE}/${PROJECT}.a
shared: ${BUILDDIR_RELEASE}/${PROJECT}.so.${SOVERSION}
${BUILDDIR_RELEASE}/${PROJECT}.a: ${OBJECTS}
$(call colorecho,AR,$@)
$(QUIET)${AR} rcs ${BUILDDIR_RELEASE}/${PROJECT}.a ${OBJECTS}
${BUILDDIR_RELEASE}/${PROJECT}.so.${SOVERSION}: ${OBJECTS}
$(call colorecho,LD,$@)
$(QUIET)${CC} -Wl,-soname,${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} \
-o ${BUILDDIR_RELEASE}/${PROJECT}.so.${SOVERSION} ${OBJECTS} ${LIBS}
release: options ${PROJECT}
# debug build
${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h
${BUILDDIR_DEBUG}/%.o: %.c
$(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} \
-o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${PROJECT}-debug: ${PROJECT}/version.h static-debug shared-debug
static-debug: ${BUILDDIR_DEBUG}/${PROJECT}.a
shared-debug: ${BUILDDIR_DEBUG}/${PROJECT}.so.${SOVERSION}
${BUILDDIR_DEBUG}/${PROJECT}.a: ${OBJECTS_DEBUG}
$(call colorecho,AR,${PROJECT}.a)
$(QUIET)${AR} rc ${BUILDDIR_DEBUG}/${PROJECT}.a ${OBJECTS_DEBUG}
${BUILDDIR_DEBUG}/${PROJECT}.so.${SOVERSION}: ${OBJECTS_DEBUG}
$(call colorecho,LD,${PROJECT}.so.${SOMAJOR})
$(QUIET)${CC} -Wl,-soname,${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} \
-o ${BUILDDIR_DEBUG}/${PROJECT}.so.${SOVERSION} ${OBJECTS_DEBUG} ${LIBS}
debug: options ${PROJECT}-debug
# gcov build
${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h
${BUILDDIR_GCOV}/%.o: %.c
$(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${GCOV_CFLAGS} ${DFLAGS} \
-o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${PROJECT}-gcov: ${PROJECT}/version.h static-gcov shared-gcov
static-gcov: ${BUILDDIR_GCOV}/${PROJECT}.a
shared-gcov: ${BUILDDIR_GCOV}/${PROJECT}.so.${SOVERSION}
${BUILDDIR_GCOV}/${PROJECT}.a: ${OBJECTS_GCOV}
$(call colorecho,AR,${PROJECT}.a)
$(QUIET)${AR} rc ${BUILDDIR_GCOV}/${PROJECT}.a ${OBJECTS_GCOV}
${BUILDDIR_GCOV}/${PROJECT}.so.${SOVERSION}: ${OBJECTS_GCOV}
$(call colorecho,LD,${PROJECT}.so.${SOMAJOR})
$(QUIET)${CC} -Wl,-soname,${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} ${GCOV_LDFLAGS} \
-o ${BUILDDIR_GCOV}/${PROJECT}.so.${SOVERSION} ${OBJECTS_GCOV} ${LIBS}
gcov: options ${PROJECT}-gcov
$(QUIET)${MAKE} -C tests run-gcov
$(call colorecho,LCOV,"Analyse data")
$(QUIET)${LCOV_EXEC} ${LCOV_FLAGS}
$(call colorecho,LCOV,"Generate report")
$(QUIET)${GENHTML_EXEC} ${GENHTML_FLAGS}
clean:
$(call colorecho,RM, "Clean objects and builds")
$(QUIET)rm -rf ${BUILDDIR}
$(call colorecho,RM, "Clean pkg-config files")
$(QUIET)rm -rf ${PROJECT}.pc
$(call colorecho,RM, "Clean dependencies")
$(QUIET)rm -rf ${DEPENDDIR}
$(call colorecho,RM, "Clean distribution files")
$(QUIET)rm -rf ${PROJECT}-${VERSION}.tar.gz
$(QUIET)rm -rf ${PROJECT}.info
$(QUIET)rm -rf ${PROJECT}/version.h
$(call colorecho,RM, "Clean code analysis")
$(QUIET)rm -rf ${LCOV_OUTPUT}
$(QUIET)rm -rf gcov
$(QUIET)${MAKE} -C tests clean
$(QUIET)${MAKE} -C doc clean
doc:
$(QUIET)${MAKE} -C doc
test: ${PROJECT}
$(QUIET)${MAKE} -C tests run
${PROJECT}.pc: ${PROJECT}.pc.in config.mk
$(QUIET)echo project=${PROJECT} > ${PROJECT}.pc
$(QUIET)echo version=${VERSION} >> ${PROJECT}.pc
$(QUIET)echo apiversion=${LIBZATHURA_VERSION_API} >> ${PROJECT}.pc
$(QUIET)echo abiversion=${LIBZATHURA_VERSION_ABI} >> ${PROJECT}.pc
$(QUIET)echo includedir=${INCLUDEDIR} >> ${PROJECT}.pc
$(QUIET)echo plugindir=${PLUGINDIR} >> ${PROJECT}.pc
$(QUIET)echo libdir=${LIBDIR} >> ${PROJECT}.pc
$(QUIET)cat ${PROJECT}.pc.in >> ${PROJECT}.pc
install-static: static
$(call colorecho,INSTALL,"Install static library")
$(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
$(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${PROJECT}.a ${DESTDIR}${LIBDIR}
install-shared: shared
$(call colorecho,INSTALL,"Install shared library")
$(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
$(QUIET)install -m 644 ${BUILDDIR_RELEASE}/${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}
$(QUIET)ln -s ${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/${PROJECT}.so.${SOMAJOR} || \
echo "Failed to create ${PROJECT}.so.${SOMAJOR}. Please check if it exists and points to the correct version of ${PROJECT}.so."
$(QUIET)ln -s ${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/${PROJECT}.so || \
echo "Failed to create ${PROJECT}.so. Please check if it exists and points to the correct version of ${PROJECT}.so."
install: options install-static install-shared install-headers
install-headers: ${PROJECT}/version.h ${PROJECT}.pc
$(call colorecho,INSTALL,"Install pkg-config file")
$(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}/pkgconfig
$(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig
$(call colorecho,INSTALL,"Install header files")
$(QUIET)mkdir -m 755 -p ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(QUIET)for header in ${HEADERS_INSTALL}; do \
mkdir -m 755 -p ${DESTDIR}${INCLUDEDIR}/`dirname $$header`; \
install -m 644 $$header ${DESTDIR}${INCLUDEDIR}/$$header; \
done
uninstall: uninstall-headers
$(call colorecho,UNINSTALL,"Remove library files")
$(QUIET)rm -f ${LIBDIR}/${PROJECT}.a ${LIBDIR}/${PROJECT}.so.${SOVERSION} \
${LIBDIR}/${PROJECT}.so.${SOMAJOR} ${LIBDIR}/${PROJECT}.so
uninstall-headers:
$(call colorecho,UNINSTALL,"Remove header files")
$(QUIET)rm -rf ${INCLUDEDIR}/${PROJECT}
$(call colorecho,UNINSTALL,"Remove pkg-config file")
$(QUIET)rm -f ${LIBDIR}/pkgconfig/${PROJECT}.pc
.PHONY: all options clean debug doc test dist install install-headers \
uninstall ninstall-headers ${PROJECT} ${PROJECT}-debug static shared \
install-static install-shared
DEPENDS = ${DEPENDDIRS:^=${DEPENDDIR}/}$(addprefix ${DEPENDDIR}/,${OBJECTS:.o=.o.dep})
-include ${DEPENDS}
# See LICENSE file for license and copyright information
ifeq ($(COLOR),1)
# GCC diagnostics colors
DIAGNOSTICS_COLOR_AVAILABLE ?= $(shell ($(CC) -fdiagnostics-color=always -E - </dev/null >/dev/null 2>/dev/null && echo 1) || echo 0)
ifeq ($(DIAGNOSTICS_COLOR_AVAILABLE),1)
CPPFLAGS += -fdiagnostics-color=always
endif
# colorful output
TPUT ?= /usr/bin/tput
TPUT_AVAILABLE ?= $(shell ${TPUT} -V 2>/dev/null)
ifdef TPUT_AVAILABLE
COLOR_NORMAL = `$(TPUT) sgr0`
COLOR_ACTION = `$(TPUT) bold``$(TPUT) setaf 3`
COLOR_COMMENT = `$(TPUT) bold``$(TPUT) setaf 2`
COLOR_BRACKET = `$(TPUT) setaf 4`
define colorecho
@echo $(COLOR_BRACKET)" ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"] "$(COLOR_COMMENT)$2$(COLOR_BRACKET) $(COLOR_NORMAL)
endef
else
define colorecho
@echo " [$1]" $2
endef
endif
else
define colorecho
@echo " [$1]" $2
endef
endif
# See LICENSE file for license and copyright information
ifeq "$(VERBOSE)" "0"
ECHO=@echo
QUIET=@
else
ECHO=@\#
QUIET=
endif
# See LICENSE file for license and copyright information
PROJECT = libzathura
LIBZATHURA_VERSION_MAJOR = 0
LIBZATHURA_VERSION_MINOR = 0
LIBZATHURA_VERSION_REV = 1
VERSION = ${LIBZATHURA_VERSION_MAJOR}.${LIBZATHURA_VERSION_MINOR}.${LIBZATHURA_VERSION_REV}
# If the API changes, the API version and the ABI version have to be bumped.
LIBZATHURA_VERSION_API = 1
# If the ABI breaks for any reason, this has to be bumped.
LIBZATHURA_VERSION_ABI = 1
# Rules for the SOMAJOR and SOMINOR.
# Before a release check perform the following checks against the last release:
# * If a function has been removed or the paramaters of a function have changed
# bump SOMAJOR and set SOMINOR to 0.
# * If any of the exported datastructures have changed in a incompatible way
# bump SOMAJOR and set SOMINOR to 0.
# * If a function has been added bump SOMINOR.
SOMAJOR = 1
SOMINOR = 0
SOVERSION = ${SOMAJOR}.${SOMINOR}
# pkg-config binary
PKG_CONFIG ?= pkg-config
# paths
PREFIX ?= /usr
LIBDIR ?= ${PREFIX}/lib
INCLUDEDIR ?= ${PREFIX}/include
DEPENDDIR=.depend
PLUGINDIR ?= ${PREFIX}/lib/zathura
BUILDDIR ?= build
BUILDDIR_RELEASE ?= ${BUILDDIR}/release
BUILDDIR_DEBUG ?= ${BUILDDIR}/debug
BUILDDIR_GCOV ?= ${BUILDDIR}/gcov
# libs
GLIB_INC ?= $(shell ${PKG_CONFIG} --cflags glib-2.0 gio-2.0)
GLIB_LIB ?= $(shell ${PKG_CONFIG} --libs glib-2.0 gio-2.0)
GMODULE_INC ?= $(shell ${PKG_CONFIG} --cflags gmodule-no-export-2.0)
GMODULE_LIB ?= $(shell ${PKG_CONFIG} --libs gmodule-no-export-2.0)
MAGIC_INC ?=
MAGIC_LIB ?= -lmagic
CAIRO_INC ?= $(shell ${PKG_CONFIG} --cflags cairo)
CAIRO_LIB ?= $(shell ${PKG_CONFIG} --libs cairo)
FIU_INC ?= $(shell ${PKG_CONFIG} --cflags libfiu)
FIU_LIB ?= $(shell ${PKG_CONFIG} --libs libfiu) -ldl
INCS = ${GLIB_INC} ${GMODULE_INC}
LIBS = ${GLIB_LIB} ${GMODULE_LIB} -lm
# pre-processor flags
CPPFLAGS += -D_FILE_OFFSET_BITS=64
CPPFLAGS += -Werror=implicit-function-declaration
# compiler flags
CFLAGS += -std=c11 -pedantic -Wall -Wextra -fPIC $(INCS)
# linker flags
LDFLAGS += -fPIC
# debug
DFLAGS = -O0 -g
# compiler
CC ?= gcc
# archiver
AR ?= ar
# strip
SFLAGS ?= -s
# gcov & lcov
GCOV_CFLAGS=-fprofile-arcs -ftest-coverage
GCOV_LDFLAGS=-fprofile-arcs
LCOV_OUTPUT=gcov
LCOV_EXEC=lcov
LCOV_FLAGS=--base-directory . --directory ${BUILDDIR_GCOV} --capture --rc \
lcov_branch_coverage=1 --output-file ${BUILDDIR_GCOV}/$(PROJECT).info
GENHTML_EXEC=genhtml
GENHTML_FLAGS=--rc lcov_branch_coverage=1 --output-directory ${LCOV_OUTPUT} ${BUILDDIR_GCOV}/$(PROJECT).info
# mimetype detection
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
WITH_MAGIC ?= 1
# cairo support
WITH_CAIRO ?= 1
# libfiu
WITH_LIBFIU ?= 1
FIU_RUN ?= fiu-run -x
# set to something != 0 if you want verbose build output
VERBOSE ?= 0
# enable colors
COLOR ?= 1
# See LICENSE file for license and copyright information
#
include ../config.mk
include ../common.mk
include ../colors.mk
include config.mk
MAN_SOURCES=$(wildcard man/*.rst) $(wildcard man/*.txt) man/conf.py
DOXYGEN_SOURCES=$(wildcard ../*.h) Doxyfile
HTML_SOURCES=$(wildcard *.rst api/*.rst api/annotations/*.rst api/actions/*.rst usage/*.rst) conf.py
SPHINX_OPTS+=-d $(SPHINX_BUILDDIR)/doctrees
ifeq ($(shell which $(SPHINX_BIN) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINX_BIN)' command was not found.)
endif
all: man html
clean:
$(call colorecho,RM,"Clean documentation")
$(QUIET)rm -rf $(SPHINX_BUILDDIR)/
$(SPHINX_BUILDDIR)/html/index.html: $(HTML_SOURCES) $(SPHINX_BUILDDIR)/doxygen/xml/index.xml
$(call colorecho,DOC,"Build HTML documentation")
$(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html
$(SPHINX_BUILDDIR)/libzathura.3: $(MAN_SOURCES)
$(call colorecho,DOC,"Build man pages")
$(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR)
$(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES)
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)
$(call colorecho,DOC,"Run doxygen")
$(QUIET)$(DOXYGEN_BIN) Doxyfile
ifeq ($(shell which $(SPHINX_BIN) >/dev/null 2>&1; echo $$?), 1)
man:
html:
else
man: $(SPHINX_BUILDDIR)/libzathura.3
# TODO: Make a better test for breathe and sphinx_rtd_theme
ifeq ($(shell which $(DOXYGEN_BIN) >/dev/null 2>&1 && $(PYTHON_BIN) -c "import breathe; import sphinx_rtd_theme" >/dev/null 2>&1; echo $$?), 0)
html: $(SPHINX_BUILDDIR)/html/index.html
else
html:
endif
endif
.PHONY: clean html man all
......@@ -31,5 +31,4 @@ Action Types
Common action
-------------
.. doxygenfile:: libzathura/action.h
:project: libzathura
.. c:autodoc:: libzathura/action.h
......@@ -4,5 +4,4 @@ Go-To-3D-View Actions
A go-to-3D-view action identifies a 3D annotation and specifies a view for the
annotation to use.
.. doxygenfile:: libzathura/actions/action-goto-3d-view.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-goto-3d-view.h
......@@ -6,5 +6,4 @@ to or from a document that is embedded in another document file . Embedded files
may be associated with file attachment annotations or with entries in the name
tree. Embedded files may in turn contain embedded files.
.. doxygenfile:: libzathura/actions/action-goto-embedded.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-goto-embedded.h
......@@ -4,5 +4,4 @@ Remote Go-To Actions
A remote go-to action is similar to an ordinary go-to action but jumps to a
destination in another document file instead of the current file.
.. doxygenfile:: libzathura/actions/action-goto-remote.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-goto-remote.h
......@@ -4,5 +4,4 @@ Go-To Actions
A go-to action changes the view to a specified destination (page, location, and
magnification factor).
.. doxygenfile:: libzathura/actions/action-goto.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-goto.h
......@@ -4,5 +4,4 @@ Hide-Annotations Actions
A hide action hides or shows one or more annotations on the screen by setting or
clearing their hidden flags.
.. doxygenfile:: libzathura/actions/action-hide-annotations.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-hide-annotations.h
......@@ -3,5 +3,4 @@ Launch Actions
A launch action launches an application or opens or prints a document.
.. doxygenfile:: libzathura/actions/action-launch.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-launch.h
......@@ -7,5 +7,4 @@ associated with the page that is the destination of the link annotation or
outline item containing the movie action, or with the page object with which the
action is associated.
.. doxygenfile:: libzathura/actions/action-movie.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-movie.h
......@@ -8,5 +8,4 @@ Action specified by a name that should be supported:
* FirstPage - Go to the first page of the document.
* LastPage - Go to the last page of the document.
.. doxygenfile:: libzathura/actions/action-named.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-named.h
......@@ -3,5 +3,4 @@ Rendition Actions
A rendition action controls the playing of multimedia content.
.. doxygenfile:: libzathura/actions/action-rendition.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-rendition.h
......@@ -3,5 +3,4 @@ Set-Ocg-State Actions
A set-OCG-state action sets the state of one or more optional content groups.
.. doxygenfile:: libzathura/actions/action-set-ocg-state.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-set-ocg-state.h
......@@ -3,5 +3,4 @@ Sound Actions
A sound action plays a sound through the computer's speakers.
.. doxygenfile:: libzathura/actions/action-sound.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-sound.h
......@@ -4,5 +4,4 @@ Thread Actions
A thread action jumps to a specified bead on an article thread, in either the
current document or a different one.
.. doxygenfile:: libzathura/actions/action-thread.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-thread.h
......@@ -9,5 +9,4 @@ exists after completion of the previous action and display it using a transition
specified in the action dictionary. Once this transition completes, drawing
should be suspended again.
.. doxygenfile:: libzathura/actions/action-transition.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-transition.h
......@@ -5,5 +5,4 @@ A uniform resource identifier (URI) is a string that identifies (resolves to) a
resource on the Internet—typically a file that is the destination of a hypertext
link, although it can also resolve to a query or other entity.
.. doxygenfile:: libzathura/actions/action-uri.h
:project: libzathura
.. c:autodoc:: libzathura/actions/action-uri.h
......@@ -43,5 +43,4 @@ Annotation Types
Common Annotation
-----------------
.. doxygenfile:: libzathura/annotations.h
:project: libzathura
.. c:autodoc:: libzathura/annotations.h
Caret Annotations
=================
.. doxygenfile:: libzathura/annotations/annotation-caret.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-caret.h
File Attachment Annotations
===========================
.. doxygenfile:: libzathura/annotations/annotation-file-attachment.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-file-attachment.h
Free Text Annotations
=====================
.. doxygenfile:: libzathura/annotations/annotation-free-text.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-free-text.h
Ink Annotations
===============
.. doxygenfile:: libzathura/annotations/annotation-ink.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-ink.h
Line Annotations
================
.. doxygenfile:: libzathura/annotations/annotation-line.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-line.h
Link annotations
================
.. doxygenfile:: libzathura/annotations/annotation-link.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-link.h
Markup annotations
==================
.. doxygenfile:: libzathura/annotations/annotation-markup.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-markup.h
Movie Annotations
=================
.. doxygenfile:: libzathura/annotations/annotation-movie.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-movie.h
......@@ -4,11 +4,11 @@ Polygon and Polyline Annotations
Polygon Annotations
-------------------
.. doxygenfile:: libzathura/annotations/annotation-polygon.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-polygon.h
Polyline Annotations
--------------------
.. doxygenfile:: libzathura/annotations/annotation-polyline.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-polyline.h
Pop-up Annotations
==================
.. doxygenfile:: libzathura/annotations/annotation-popup.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-popup.h
Printer's Mark Annotations
==========================
.. doxygenfile:: libzathura/annotations/annotation-printer-mark.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-printer-mark.h
Rubber Stamp Annotations
========================
.. doxygenfile:: libzathura/annotations/annotation-stamp.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-stamp.h
Screen Annotations
==================
.. doxygenfile:: libzathura/annotations/annotation-screen.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-screen.h
Sound Annotations
=================
.. doxygenfile:: libzathura/annotations/annotation-sound.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-sound.h
......@@ -4,11 +4,11 @@ Square and Circle Annotations
Square Annotation
-----------------
.. doxygenfile:: libzathura/annotations/annotation-square.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-square.h
Circle Annotation
-----------------
.. doxygenfile:: libzathura/annotations/annotation-circle.h
:project: libzathura
.. c:autodoc:: libzathura/annotations/annotation-circle.h