File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 296296AM_CONDITIONAL(ENABLE_GEGL, test "x$enable_gegl" = "xyes")
297297AC_SUBST ( DOXYGEN_EXCLUDED )
298298
299+ DOXYXML_BUILD_PATH="$PWD/doc"
300+ AC_SUBST ( DOXYXML_BUILD_PATH )
301+
302+ DOXYGEN_SOURCE_ROOT="$PWD"
303+ AC_SUBST ( DOXYGEN_SOURCE_ROOT )
304+
299305# Set pkg-config variables before generation.
300306AC_SUBST ( PKG_CONFIG_REQUIRES )
301307
302308AC_CONFIG_FILES ( [
303309 doc/Doxyfile
304310 doc/Makefile
311+ doc/source/conf.py
305312 gegl/libmypaint-gegl-] libmypaint_api_platform_version ( ) [ .pc:gegl/libmypaint-gegl.pc.in
306313 gegl/Makefile
307314 libmypaint-] libmypaint_api_platform_version ( ) [ .pc:libmypaint.pc.in
Original file line number Diff line number Diff line change 1+ source /conf.py
12Doxyfile
23doxygen /
34build /
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = "libmypaint"
3838# could be handy for archiving the generated documentation or if some version
3939# control system is used.
4040
41- PROJECT_NUMBER = 0.1
41+ PROJECT_NUMBER = @LIBMYPAINT_VERSION@
4242
4343# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444# for a project that appears at the top of each page and should give viewer a
@@ -58,7 +58,7 @@ PROJECT_LOGO =
5858# entered, it will be relative to the location where doxygen was started. If
5959# left blank the current directory will be used.
6060
61- OUTPUT_DIRECTORY =
61+ OUTPUT_DIRECTORY = @DOXYXML_BUILD_PATH@
6262
6363# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
6464# directories (in 2 levels) under the output directory of each output format and
@@ -819,7 +819,7 @@ WARN_LOGFILE =
819819# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
820820# Note: If this tag is empty the current directory is searched.
821821
822- INPUT = ../..
822+ INPUT = @DOXYGEN_SOURCE_ROOT@
823823
824824# This tag can be used to specify the character encoding of the source files
825825# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Original file line number Diff line number Diff line change 11EXTRA_DIST = \
2- source/conf.py \
32 source/index.rst
43
54if ENABLE_DOCS
Original file line number Diff line number Diff line change 3737
3838# Breathe setup, for integrating doxygen content
3939extensions.append('breathe')
40- doxyxml_dir = os . path . join ( os . path . abspath ( os . path . dirname ( __file__ )), '../doxygen' )
40+ doxyxml_dir = '@DOXYXML_BUILD_PATH@'
4141print(doxyxml_dir)
4242breathe_projects = {"libmypaint": doxyxml_dir}
4343breathe_default_project = "libmypaint"
6363# built documents.
6464#
6565# The short X.Y version.
66- version = '0.1 '
66+ version = '@LIBMYPAINT_VERSION@ '
6767# The full version, including alpha/beta/rc tags.
68- release = '0.1 '
68+ release = '@LIBMYPAINT_VERSION_FULL@ '
6969
7070# The language for content autogenerated by Sphinx. Refer to documentation
7171# for a list of supported languages.
You can’t perform that action at this time.
0 commit comments