doc: Unify meson and cmake configured files.

This commit is contained in:
Ryan Pavlik 2020-03-23 15:28:53 -05:00
parent a974562d43
commit 68b866f604
4 changed files with 6 additions and 2530 deletions

View file

@ -1,4 +1,4 @@
# Copyright 2018-2019, Collabora, Ltd.
# Copyright 2018-2020, Collabora, Ltd.
# SPDX-License-Identifier: BSL-1.0
# check if Doxygen is installed
@ -20,9 +20,12 @@ if(BUILD_DOC)
endif()
# set input and output files
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.cmake_in)
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
set(CURBUILDDIR ${CMAKE_CURRENT_BINARY_DIR})
set(SRCDIR ${PROJECT_SOURCE_DIR})
set(BUILDDIR ${PROJECT_BINARY_DIR})
# request to configure the file
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)

File diff suppressed because it is too large Load diff

View file

@ -22,7 +22,7 @@ else
doxyconf.set('DOXYGEN_EXTRACT_ALL', 'NO')
endif
doxyfile = configure_file(input: 'Doxyfile.meson_in',
doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile', configuration: doxyconf, install: false)
html = custom_target('docs',